diff options
| author | 2025-08-25 10:34:35 +0100 | |
|---|---|---|
| committer | 2025-08-25 19:54:35 +0200 | |
| commit | 25f526507b8ccc6ac3a43bc094d09b1f9b0b90ae (patch) | |
| tree | 2593e1dc5dba2379b941c5f82d9726953b12abea /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | Linux 6.17-rc1 (diff) | |
| download | wireguard-linux-25f526507b8ccc6ac3a43bc094d09b1f9b0b90ae.tar.xz wireguard-linux-25f526507b8ccc6ac3a43bc094d09b1f9b0b90ae.zip | |
bus: fsl-mc: Check return value of platform_get_resource()
platform_get_resource() returns NULL in case of failure, so check its
return value and propagate the error in order to prevent NULL pointer
dereference.
Fixes: 6305166c8771 ("bus: fsl-mc: Add ACPI support for fsl-mc")
Cc: stable@vger.kernel.org
Signed-off-by: Salah Triki <salah.triki@gmail.com>
Acked-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/aKwuK6TRr5XNYQ8u@pc
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Diffstat (limited to 'scripts/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
