aboutsummaryrefslogtreecommitdiff
path: root/lib/flex_array.c
diff options
context:
space:
mode:
authorXiaolong Ye <yexl@marvell.com>2015-09-11 11:05:23 +0800
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:57:42 +0200
commit0f9a1d69bd11d18df493076290f5224b4c75383b (patch)
tree05a5832cd27d5a39d1cf6c5962045c227f89385e /lib/flex_array.c
parent1ada45076ce30fede8a419edd888c29187af4919 (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