OpenCloudOS-Kernel/drivers/devfreq
Christian Marangi c8934e4e34 PM / devfreq: exynos-bus: Fix NULL pointer dereference
Fix exynos-bus NULL pointer dereference by correctly using the local
generated freq_table to output the debug values instead of using the
profile freq_table that is not used in the driver.

Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Fixes: b5d281f6c1 ("PM / devfreq: Rework freq_table to be local to devfreq struct")
Cc: stable@vger.kernel.org
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2022-07-08 04:32:26 +09:00
..
event PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events 2022-06-30 05:11:17 +09:00
Kconfig PM / devfreq: sun8i: addd COMMON_CLK dependency 2021-12-16 11:19:34 +09:00
Makefile PM / devfreq: Add a driver for the sun8i/sun50i MBUS 2021-12-10 15:56:07 +09:00
devfreq-event.c PM / devfreq: event: Change prototype of devfreq_event_get_edev_by_phandle function 2020-09-29 17:50:10 +09:00
devfreq.c PM / devfreq: Rework freq_table to be local to devfreq struct 2022-06-30 05:11:17 +09:00
exynos-bus.c PM / devfreq: exynos-bus: Fix NULL pointer dereference 2022-07-08 04:32:26 +09:00
governor.h PM / devfreq: passive: Keep cpufreq_policy for possible cpus 2022-05-17 18:24:39 +09:00
governor_passive.c PM / devfreq: passive: revert an editing accident in SPDX-License line 2022-06-30 05:11:17 +09:00
governor_performance.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
governor_powersave.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
governor_simpleondemand.c PM / devfreq: Add governor attribute flag for specifc sysfs nodes 2020-10-26 11:46:54 +09:00
governor_userspace.c PM / devfreq: userspace: Use DEVICE_ATTR_RW macro 2021-06-17 17:08:46 +09:00
imx-bus.c PM / devfreq: imx-bus: Remove imx_bus_get_dev_status 2021-05-21 13:16:10 +09:00
imx8m-ddrc.c PM / devfreq: imx8m-ddrc: Remove unneeded of_match_ptr() 2021-04-08 13:14:51 +09:00
rk3399_dmc.c PM / devfreq: rk3399_dmc: Block PMU during transitions 2022-05-09 03:38:07 +09:00
sun8i-a33-mbus.c PM / devfreq: Add a driver for the sun8i/sun50i MBUS 2021-12-10 15:56:07 +09:00
tegra30-devfreq.c PM / devfreq: tegra30: Check whether clk_round_rate() returns zero rate 2021-10-05 09:54:39 +05:30