diff options
| author | Xiaolong Ye <yexl@marvell.com> | 2015-09-11 11:05:23 +0800 |
|---|---|---|
| committer | Ben Hutchings <ben@decadent.org.uk> | 2016-11-20 01:17:39 +0000 |
| commit | 3465266e970e0506c7ce7b582db5e433ad8912fa (patch) | |
| tree | 2829ce3757073bf892a8ee1a940a52fdfe52aeda /include/linux | |
| parent | a040696e6686ac65be13ee5a72c945e63c48be70 (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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
