Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b703da16 authored by Xie Shaowen's avatar Xie Shaowen Committed by Greg Kroah-Hartman
Browse files

macintosh/macio-adb: check the return value of ioremap()



[ Upstream commit dbaa3105736d4d73063ea0a3b01cd7fafce924e6 ]

The function ioremap() in macio_init() can fail, so its return value
should be checked.

Fixes: 36874579 ("[PATCH] powerpc: macio-adb build fix")
Reported-by: default avatarHacash Robot <hacashRobot@santino.com>
Signed-off-by: default avatarXie Shaowen <studentxswpy@163.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220802074148.3213659-1-studentxswpy@163.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b29a2f1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment