Linux kernel source tree
Go to file
Hans de Goede 4a49194f58 ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration()
acpi_dev_hid_match() does not check for adev == NULL, dereferencing
it unconditional.

Add a check for adev being NULL before calling acpi_dev_hid_match().

At the moment acpi_quirk_skip_serdev_enumeration() is never called with
a controller_parent without an ACPI companion, but better safe than sorry.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patch.msgid.link/20241109220028.83047-1-hdegoede@redhat.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2024-11-12 21:21:58 +01:00
arch 20 hotfixes, 14 of which are cc:stable. 2024-11-10 09:04:27 -08:00
block
certs
crypto
Documentation 20 hotfixes, 14 of which are cc:stable. 2024-11-10 09:04:27 -08:00
drivers ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration() 2024-11-12 21:21:58 +01:00
fs 20 hotfixes, 14 of which are cc:stable. 2024-11-10 09:04:27 -08:00
include 20 hotfixes, 14 of which are cc:stable. 2024-11-10 09:04:27 -08:00
init
io_uring
ipc
kernel 20 hotfixes, 14 of which are cc:stable. 2024-11-10 09:04:27 -08:00
lib objpool: fix to make percpu slot allocation more robust 2024-11-07 14:14:58 -08:00
LICENSES
mm filemap: Fix bounds checking in filemap_read() 2024-11-10 14:07:08 -08:00
net Including fixes from can and netfilter. 2024-11-07 11:07:57 -10:00
rust
samples
scripts
security
sound ASoC: Fixes for v6.12 2024-11-08 09:25:33 +01:00
tools 20 hotfixes, 14 of which are cc:stable. 2024-11-10 09:04:27 -08:00
usr
virt
.clang-format
.cocciconfig
.editorconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap mailmap: add entry for Thorsten Blum 2024-11-07 14:14:59 -08:00
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS sound fixes for 6.12-rc7 2024-11-08 07:44:28 -10:00
Makefile Linux 6.12-rc7 2024-11-10 14:19:35 -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 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.