summaryrefslogtreecommitdiffstats
path: root/Documentation/maintainer
diff options
context:
space:
mode:
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2018-11-29 10:55:59 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2018-11-30 18:28:39 +0100
commitea2412dc21cc790335d319181dddc43682aef164 (patch)
tree1ca875b940d0dc6187939022020616272e6b5e79 /Documentation/maintainer
parentarm64: ftrace: Fix to enable syscall events on arm64 (diff)
downloadlinux-ea2412dc21cc790335d319181dddc43682aef164.tar.xz
linux-ea2412dc21cc790335d319181dddc43682aef164.zip
ACPI/IORT: Fix iort_get_platform_device_domain() uninitialized pointer value
Running the Clang static analyzer on IORT code detected the following error: Logic error: Branch condition evaluates to a garbage value in iort_get_platform_device_domain() If the named component associated with a given device has no IORT mappings, iort_get_platform_device_domain() exits its MSI mapping loop with msi_parent pointer containing garbage, which can lead to erroneous code path execution. Initialize the msi_parent pointer, fixing the bug. Fixes: d4f54a186667 ("ACPI: platform: setup MSI domain for ACPI based platform device") Reported-by: Patrick Bellasi <patrick.bellasi@arm.com> Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org> Acked-by: Will Deacon <will.deacon@arm.com> Cc: Sudeep Holla <sudeep.holla@arm.com> Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'Documentation/maintainer')
0 files changed, 0 insertions, 0 deletions