diff options
| author | Xiaolong Ye <yexl@marvell.com> | 2015-09-11 11:05:23 +0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 10:57:42 +0200 |
| commit | 0f9a1d69bd11d18df493076290f5224b4c75383b (patch) | |
| tree | 05a5832cd27d5a39d1cf6c5962045c227f89385e /lib/flex_array.c | |
| parent | 1ada45076ce30fede8a419edd888c29187af4919 (diff) | |
PM / devfreq: Fix incorrect type issue.
commit 5f25f066f75a67835abb5e400471a27abd09395b upstream
time_in_state in struct devfreq is defined as unsigned long, so
devm_kzalloc should use sizeof(unsigned long) as argument instead
of sizeof(unsigned int), otherwise it will cause unexpected result
in 64bit system.
Signed-off-by: Xiaolong Ye <yexl@marvell.com>
Signed-off-by: Kevin Liu <kliu5@marvell.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions
