aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorXiaolong Ye <[email protected]>2015-09-11 03:05:23 +0000
committerMyungJoo Ham <[email protected]>2015-09-11 05:23:30 +0000
commit5f25f066f75a67835abb5e400471a27abd09395b (patch)
tree32028d119a5b61645a977f6a56f06d52e5443d55 /drivers/fpga/fpga-mgr.c
parentPM / devfreq: tegra: Update governor to use devfreq_update_stats() (diff)
downloadkernel-5f25f066f75a67835abb5e400471a27abd09395b.tar.gz
kernel-5f25f066f75a67835abb5e400471a27abd09395b.zip
PM / devfreq: Fix incorrect type issue.
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]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions