mirror of
https://github.com/torvalds/linux.git
synced 2025-11-08 04:30:00 +02: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 <yexl@marvell.com> Signed-off-by: Kevin Liu <kliu5@marvell.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> |
||
|---|---|---|
| .. | ||
| event | ||
| exynos | ||
| devfreq-event.c | ||
| devfreq.c | ||
| governor.h | ||
| governor_performance.c | ||
| governor_powersave.c | ||
| governor_simpleondemand.c | ||
| governor_userspace.c | ||
| Kconfig | ||
| Makefile | ||
| tegra-devfreq.c | ||