diff options
author | Xiaolong Ye <yexl@marvell.com> | 2015-09-11 05:05:23 +0200 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2015-09-11 07:23:30 +0200 |
commit | 5f25f066f75a67835abb5e400471a27abd09395b (patch) | |
tree | 32028d119a5b61645a977f6a56f06d52e5443d55 /drivers/infiniband/hw/mlx5/cq.c | |
parent | PM / devfreq: tegra: Update governor to use devfreq_update_stats() (diff) | |
download | linux-5f25f066f75a67835abb5e400471a27abd09395b.tar.xz linux-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 <yexl@marvell.com>
Signed-off-by: Kevin Liu <kliu5@marvell.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/cq.c')
0 files changed, 0 insertions, 0 deletions