Ubuntu-focal-kernel/drivers/cpufreq
Portia Stephens 3de8b0e7e0 cpufreq: brcmstb-avs-cpufreq: ISO C90 forbids mixed declarations
There is a compile warning because a NULL pointer check was added before
a struct was declared. This moves the NULL pointer check to after the
struct is declared and moves the struct assignment to after the NULL
pointer check.

Fixes: f661017e6d32 ("cpufreq: brcmstb-avs-cpufreq: add check for cpufreq_cpu_get's return value")
Signed-off-by: Portia Stephens <portia.stephens@canonical.com>
Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>

CVE-2024-27051
(backported from fa7bd98f3c8b33fb68c6b2bc69cff32b63db69f8)
[koichiroden: Adjusted context due to missing commit a48ac1c9f2
 ("cpufreq: brcmstb-avs: fix imbalance of cpufreq policy refcount")]
Signed-off-by: Koichiro Den <koichiro.den@canonical.com>
Acked-by: Mehmet Basaran <mehmet.basaran@canonical.com>
Acked-by: Andrei Gherzan <andrei.gherzan@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2024-09-27 10:50:22 +02:00
..
Kconfig
Kconfig.arm cpufreq: ap806: fix cpufreq driver needs ap cpu clk 2020-09-04 16:29:20 -03:00
Kconfig.powerpc
Kconfig.x86
Makefile Merge branch 'cpufreq/qcom-updates' into cpufreq/arm/linux-next 2019-09-03 07:55:22 +05:30
acpi-cpufreq.c x86/devicetable: Move x86 specific macro out of generic code 2022-10-17 15:02:33 +02:00
amd_freq_sensitivity.c cpufreq: amd_freq_sensitivity: Add missing pci_dev_put() 2023-02-01 15:22:15 +01:00
arm_big_little.c
arm_big_little.h
armada-8k-cpufreq.c cpufreq: ap806: Add missing MODULE_DEVICE_TABLE 2021-01-20 14:25:58 +01:00
armada-37xx-cpufreq.c cpufreq: armada-37xx: stop using 0 as NULL pointer 2023-03-21 10:08:59 +01:00
bmips-cpufreq.c
brcmstb-avs-cpufreq.c cpufreq: brcmstb-avs-cpufreq: ISO C90 forbids mixed declarations 2024-09-27 10:50:22 +02:00
cppc_cpufreq.c cpufreq: Avoid creating excessively large stack frames 2020-02-17 10:57:50 +01:00
cpufreq-dt-platdev.c cpufreq: Add Tegra234 to cpufreq-dt-platdev blocklist 2023-03-21 10:08:59 +01:00
cpufreq-dt.c
cpufreq-dt.h
cpufreq-nforce2.c cpufreq: Avoid creating excessively large stack frames 2020-02-17 10:57:50 +01:00
cpufreq.c cpufreq: exit() callback is optional 2024-07-05 10:51:57 +02:00
cpufreq_conservative.c
cpufreq_governor.c
cpufreq_governor.h
cpufreq_governor_attr_set.c cpufreq: schedutil: Destroy mutex before kobject_put() frees the memory 2021-11-05 09:12:47 +01:00
cpufreq_ondemand.c
cpufreq_ondemand.h
cpufreq_performance.c
cpufreq_powersave.c
cpufreq_stats.c
cpufreq_userspace.c
davinci-cpufreq.c
e_powersaver.c
elanfreq.c
freq_table.c cpufreq: Avoid creating excessively large stack frames 2020-02-17 10:57:50 +01:00
gx-suspmod.c cpufreq: Avoid creating excessively large stack frames 2020-02-17 10:57:50 +01:00
highbank-cpufreq.c cpufreq: highbank: Add missing MODULE_DEVICE_TABLE 2021-01-20 14:25:58 +01:00
ia64-acpi-cpufreq.c
imx-cpufreq-dt.c cpufreq: imx-cpufreq-dt: Correct i.MX8MN's default speed grade value 2019-12-16 09:32:45 -06:00
imx6q-cpufreq.c cpufreq: imx6q: Don't disable 792 Mhz OPP unnecessarily 2024-02-02 14:13:17 +01:00
intel_pstate.c cpufreq: intel_pstate: Drop ACPI _PSS states table patching 2023-10-30 11:41:48 +01:00
kirkwood-cpufreq.c
longhaul.c
longhaul.h
longrun.c cpufreq: Avoid creating excessively large stack frames 2020-02-17 10:57:50 +01:00
loongson1-cpufreq.c cpufreq: loongson1: Add missing MODULE_ALIAS 2021-01-20 14:25:59 +01:00
loongson2_cpufreq.c
maple-cpufreq.c
mediatek-cpufreq.c cpufreq: mediatek: Add missing MODULE_DEVICE_TABLE 2021-01-20 14:25:59 +01:00
mvebu-cpufreq.c
omap-cpufreq.c
p4-clockmod.c
pasemi-cpufreq.c
pcc-cpufreq.c cpufreq: Avoid creating excessively large stack frames 2020-02-17 10:57:50 +01:00
pmac32-cpufreq.c cpufreq: pmac32-cpufreq: Fix refcount leak bug 2022-09-16 10:59:25 +02:00
pmac64-cpufreq.c
powernow-k6.c
powernow-k7.c
powernow-k7.h
powernow-k8.c cpufreq: powernow-k8: Use related_cpus instead of cpus in driver.exit() 2023-10-30 11:42:07 +01:00
powernow-k8.h
powernv-cpufreq.c cpufreq: powernv: Fix init_chip_info initialization in numa=off 2021-10-12 16:31:39 -06:00
ppc_cbe_cpufreq.c
ppc_cbe_cpufreq.h
ppc_cbe_cpufreq_pervasive.c
ppc_cbe_cpufreq_pmi.c cpufreq: Use per-policy frequency QoS 2019-10-21 02:05:21 +02:00
pxa2xx-cpufreq.c
pxa3xx-cpufreq.c
qcom-cpufreq-hw.c
qcom-cpufreq-nvmem.c cpufreq: qcom: Add missing MODULE_DEVICE_TABLE 2021-01-20 14:25:59 +01:00
qoriq-cpufreq.c
raspberrypi-cpufreq.c
s3c24xx-cpufreq-debugfs.c
s3c24xx-cpufreq.c
s3c64xx-cpufreq.c
s3c2410-cpufreq.c
s3c2412-cpufreq.c
s3c2416-cpufreq.c
s3c2440-cpufreq.c
s5pv210-cpufreq.c
sa1100-cpufreq.c
sa1110-cpufreq.c
sc520_freq.c
scmi-cpufreq.c
scpi-cpufreq.c cpufreq: scpi: Add missing MODULE_ALIAS 2021-01-20 14:25:59 +01:00
sfi-cpufreq.c
sh-cpufreq.c cpufreq: Avoid creating excessively large stack frames 2020-02-17 10:57:50 +01:00
sparc-us2e-cpufreq.c
sparc-us3-cpufreq.c
spear-cpufreq.c
speedstep-centrino.c
speedstep-ich.c
speedstep-lib.c
speedstep-lib.h
speedstep-smi.c
sti-cpufreq.c cpufreq: st: Add missing MODULE_DEVICE_TABLE 2021-01-20 14:25:59 +01:00
sun50i-cpufreq-nvmem.c cpufreq: fix memory leak in sun50i_cpufreq_nvmem_probe 2022-06-22 14:51:11 +02:00
tango-cpufreq.c
tegra20-cpufreq.c
tegra124-cpufreq.c
tegra186-cpufreq.c
ti-cpufreq.c
unicore2-cpufreq.c cpufreq: Avoid creating excessively large stack frames 2020-02-17 10:57:50 +01:00
vexpress-spc-cpufreq.c