aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2025-05-27 05:45:21 +0000
committerRafael J. Wysocki <[email protected]>2025-05-27 13:26:50 +0000
commit39cdf87a97fdab067e82138ad4611b764f3eae15 (patch)
treeefdd9a2cd386c4a07f3f9e8dcf525f47ed0ec991 /drivers/fpga/tests/fpga-mgr-test.c
parentcpuidle: psci: Avoid initializing faux device if no DT idle states are present (diff)
downloadkernel-39cdf87a97fdab067e82138ad4611b764f3eae15.tar.gz
kernel-39cdf87a97fdab067e82138ad4611b764f3eae15.zip
cpuidle: psci: Fix uninitialized variable in dt_idle_state_present()
If the first cpu_node = of_cpu_device_node_get() fails then the cleanup.h code will try to free "state_node" but it hasn't been initialized yet. Declare the device_nodes where they are initialized to fix this. Fixes: 5836ebeb4a2b ("cpuidle: psci: Avoid initializing faux device if no DT idle states are present") Signed-off-by: Dan Carpenter <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions