Linux kernel source tree
Go to file
Haotian Zhang c43bcd2b2a 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: a56960e8b4 ("[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>
2025-10-14 15:07:37 +02:00
Documentation media: doc/dt-bindings: remove support of stih407-c8sectpfe 2025-10-14 15:07:37 +02:00
LICENSES
arch Kbuild fixes for 6.18 #1 2025-10-11 15:47:12 -07:00
block
certs
crypto
drivers media: cec: Fix debugfs leak on bus_register() failure 2025-10-14 15:07:37 +02:00
fs
include media: include: remove c8sectpfe header 2025-10-14 15:07:37 +02:00
init
io_uring
ipc
kernel tracing fixes for v6.18: 2025-10-11 16:06:04 -07:00
lib
mm
net
rust
samples
scripts Kbuild fixes for 6.18 #1 2025-10-11 15:47:12 -07:00
security
sound
tools
usr
virt
.clang-format
.clippy.toml
.cocciconfig
.editorconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.pylintrc
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS media: c8sectpfe: remove support of STi c8sectpfe driver 2025-10-14 15:07:37 +02:00
Makefile Linux 6.18-rc1 2025-10-12 13:42:36 -07:00
README

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the reStructuredText markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.