aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/clk.py
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2023-12-28 09:30:54 +0100
committerHans de Goede <[email protected]>2024-01-02 13:32:14 +0100
commit9dd3f1ef40d01fdfe69c3ada28b1f201a7207f6e (patch)
treeabe19a62dea911fc5dcb3db9b774866725968b33 /scripts/gdb/linux/clk.py
parent87d8f1ee1d4070571095859d310f6951440f288c (diff)
platform/x86/amd/pmf: Return directly after a failed apmf_if_call() in apmf_sbios_heartbeat_notify()
The kfree() function was called in one case by the apmf_sbios_heartbeat_notify() function during error handling even if the passed variable contained a null pointer. This issue was detected by using the Coccinelle software. * Thus return directly after a call of the function “apmf_if_call” failed at the beginning. * Delete the label “out” which became unnecessary with this refactoring. Signed-off-by: Markus Elfring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions