No description
Find a file
Greg Kroah-Hartman a0bc3f78d0 kernel/power/energy_model.c: fix memory leak with using debugfs_lookup()
When calling debugfs_lookup() the result must have dput() called on it,
otherwise the memory will leak over time.  To make things simpler, just
call debugfs_lookup_and_remove() instead which handles all of the logic
at once.

Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Len Brown <len.brown@intel.com>
Link: https://lore.kernel.org/r/20230202151515.2309543-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-02-08 13:36:00 +01:00
arch
block
certs
crypto
Documentation
drivers driver core: make kobj_type structures constant 2023-02-08 13:34:30 +01:00
fs
include driver core: bus: move lock_class_key into dynamic structure 2023-02-01 20:03:18 +01:00
init
io_uring
ipc
kernel kernel/power/energy_model.c: fix memory leak with using debugfs_lookup() 2023-02-08 13:36:00 +01:00
lib kobject: make dynamic_kobj_ktype and kset_ktype const 2023-02-08 13:34:20 +01:00
LICENSES
mm
net
rust
samples samples/kobject: make kobj_type structure constant 2023-02-08 13:34:41 +01:00
scripts const_structs.checkpatch.pl: add kobj_type 2023-02-08 13:33:29 +01:00
security
sound
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
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 Restructured Text 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.