mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
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 <[email protected]> Signed-off-by: Kevin Liu <[email protected]> Signed-off-by: MyungJoo Ham <[email protected]>