No description
Find a file
Yang Yingliang 9b5daa1207 MIPS: vpe-cmp: fix possible memory leak while module exiting
[ Upstream commit c5ed1fe080 ]

dev_set_name() allocates memory for name, it need be freed
when module exiting, call put_device() to give up reference,
so that it can be freed in kobject_cleanup() when the refcount
hit to 0. The vpe_device is static, so remove kfree() from
vpe_device_release().

Fixes: 17a1d523aa ("MIPS: APRP: Add VPE loader support for CMP platforms.")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-19 17:57:14 +08:00
arch MIPS: vpe-cmp: fix possible memory leak while module exiting 2023-04-19 17:57:14 +08:00
block block: move CONFIG_BLOCK guard to top Makefile 2023-04-19 17:57:04 +08:00
certs certs/blacklist_hashes.c: fix const confusion in certs blacklist 2023-04-19 17:50:34 +08:00
crypto crypto: akcipher - default implementation for setting a private key 2023-04-19 17:55:27 +08:00
Documentation docs: update mediator contact information in CoC doc 2023-04-19 17:56:27 +08:00
drivers platform/x86: huawei-wmi: fix return value calculation 2023-04-19 17:57:13 +08:00
fs ocfs2: fix memory leak in ocfs2_stack_glue_init() 2023-04-19 17:57:13 +08:00
include timerqueue: Use rb_entry_safe() in timerqueue_getnext() 2023-04-19 17:57:13 +08:00
init init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash 2023-04-19 17:56:40 +08:00
io_uring io_uring: Fix a null-ptr-deref in io_tctx_exit_cb() 2023-04-19 17:57:04 +08:00
ipc ipc/sem: Fix dangling sem_array access in semtimedop race 2023-04-19 17:56:54 +08:00
kernel perf: Fix possible memleak in pmu_dev_alloc() 2023-04-19 17:57:13 +08:00
lib lib/fonts: fix undefined behavior in bit shift for get_default_font 2023-04-19 17:57:13 +08:00
LICENSES LICENSES/dual/CC-BY-4.0: Git rid of "smart quotes" 2021-07-15 06:31:24 -06:00
mm mm/gup: fix gup_pud_range() for dax 2023-04-19 17:56:58 +08:00
net Bluetooth: L2CAP: Fix u8 overflow 2023-04-19 17:57:06 +08:00
samples samples/landlock: Format with clang-format 2023-04-19 17:50:01 +08:00
scripts scripts/faddr2line: Fix regression in name resolution on ppc64le 2023-04-19 17:56:46 +08:00
security capabilities: fix potential memleak on error path from vfs_getxattr_alloc() 2023-04-19 17:56:03 +08:00
sound ASoC: ops: Correct bounds check for second channel on SX controls 2023-04-19 17:57:05 +08:00
tools proc: fixup uptime selftest 2023-04-19 17:57:13 +08:00
usr usr/include/Makefile: add linux/nfc.h to the compile-test coverage 2023-04-19 17:44:58 +08:00
virt kvm: Add support for arch compat vm ioctls 2023-04-19 17:55:40 +08:00
.clang-format clang-format: Update with the latest for_each macro list 2021-05-12 23:32:39 +02:00
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore .gitignore: ignore only top-level modules.builtin 2021-05-02 00:43:35 +09:00
.mailmap mailmap: add Andrej Shadura 2021-10-18 20:22:03 -10:00
COPYING
CREDITS MAINTAINERS: Move Daniel Drake to credits 2021-09-21 08:34:58 +03:00
Kbuild
Kconfig
MAINTAINERS io_uring: move to separate directory 2023-04-19 17:57:04 +08:00
Makefile Linux 5.15.85 2023-04-19 17:57:07 +08:00
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.