Marc Zyngier db3568fd80 genirq/msi: Check for the presence of an irq domain when validating msi_ctrl
For architectures such as s390 and powerpc that do not use
irq domains for MSIs, dev->msi.domain is always NULL, so
the per-device, per-bus MSI domain is also guaranteed to
be NULL.

So checking one without checking the other is bound to result
in a splat, followed by a memory leak as we don't free the MSI
descriptors.

Add the missing check.

Reported-by: Matthew Rosato <mjrosato@linux.ibm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/e570e70d-19bc-101b-0481-ff9a3cab3504@linux.ibm.com
2022-12-16 13:27:18 +00:00
2022-12-15 18:01:16 -08:00
2022-12-13 10:43:59 -08:00
2022-12-15 18:01:16 -08:00
2022-12-15 18:14:21 -08:00
2022-12-15 18:01:16 -08:00
2022-12-14 12:20:00 -08:00
2022-12-13 10:43:59 -08:00
2022-12-12 17:28:58 -08:00
2022-12-15 11:12:21 -08:00
2022-12-14 12:20:00 -08:00
2022-12-04 01:59:16 +01:00
2022-12-15 18:01:16 -08:00
2022-12-14 13:42:09 -08:00
2022-12-13 11:27:26 -08:00
2022-12-15 11:12:21 -08:00
2022-12-15 11:12:21 -08:00
2022-12-14 09:15:43 -08:00
2022-12-12 17:28:58 -08:00
2022-09-28 09:02:20 +02:00
2022-10-10 12:00:45 -07:00
2022-12-15 18:01:16 -08:00

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.
Description
No description provided
Readme 5.7 GiB
Languages
C 97.6%
Assembly 1%
Shell 0.5%
Python 0.3%
Makefile 0.3%