summaryrefslogtreecommitdiff
path: root/include/linux/livepatch.h
diff options
context:
space:
mode:
authorHaotian Zhang <vulab@iscas.ac.cn>2025-09-29 19:12:29 +0800
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-10-14 15:07:37 +0200
commitc43bcd2b2aa3c2ca9d2433c3990ecbc2c47d10eb (patch)
tree99290f06832d9b355e070d4427313d80ddf71f68 /include/linux/livepatch.h
parent203ee65bfdb29753d1a4d2f8efba6c0c7eccdd71 (diff)
media: cec: Fix debugfs leak on bus_register() failure
In cec_devnode_init(), the debugfs directory created with debugfs_create_dir() is not removed if bus_register() fails. This leaves a stale "cec" entry in debugfs and prevents proper module reloading. Fix this by removing the debugfs directory in the error path. Fixes: a56960e8b406 ("[media] cec: add HDMI CEC framework (core)") Cc: stable@vger.kernel.org Signed-off-by: Haotian Zhang <vulab@iscas.ac.cn> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'include/linux/livepatch.h')
0 files changed, 0 insertions, 0 deletions