mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
macintosh/macio-adb: check the return value of ioremap()
[ Upstream commitdbaa310573] The function ioremap() in macio_init() can fail, so its return value should be checked. Fixes:36874579db("[PATCH] powerpc: macio-adb build fix") Reported-by: Hacash Robot <hacashRobot@santino.com> Signed-off-by: Xie Shaowen <studentxswpy@163.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220802074148.3213659-1-studentxswpy@163.com Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
76837e7f6b
commit
65572a1316
1 changed files with 4 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue