aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2024-11-12 16:20:23 +0000
committerPaul E. McKenney <[email protected]>2024-11-15 00:09:51 +0000
commitf946cae86d088d02a2f9c0ae0bf8a80359d3f454 (patch)
tree57c59bb66311641766e43d793fa52426f5f18ae6 /drivers/pwm/pwm-stm32.c
parentscftorture: Use a lock-less list to free memory. (diff)
downloadkernel-f946cae86d088d02a2f9c0ae0bf8a80359d3f454.tar.gz
kernel-f946cae86d088d02a2f9c0ae0bf8a80359d3f454.zip
scftorture: Handle NULL argument passed to scf_add_to_free_list().
Dan reported that after the rework the newly introduced scf_add_to_free_list() may get a NULL pointer passed. This replaced kfree() which was fine with a NULL pointer but scf_add_to_free_list() isn't. Let scf_add_to_free_list() handle NULL pointer. Reported-by: Dan Carpenter <[email protected]> Closes: https://lore.kernel.org/all/[email protected] Fixes: 4788c861ad7e9 ("scftorture: Use a lock-less list to free memory.") Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions