um: return error from ioremap()
authorJohannes Berg <johannes.berg@intel.com>
Thu, 17 Dec 2020 12:15:56 +0000 (13:15 +0100)
committerRichard Weinberger <richard@nod.at>
Tue, 26 Jan 2021 21:11:37 +0000 (22:11 +0100)
commit1cdcfb44370b28187a0c33cdbcb4705103ed81aa
tree6a52fd9b05491dc4ab469c85303b9df042886a23
parent94c41b3a7c370b0d6afc5ace8fafa0531865a940
um: return error from ioremap()

Back a few years ago, ioremap() was added to UML so that we'd
not break the build for everything all the time. However, for
some reason, v1 of the patch got applied, rather than the v2
that returned NULL, which was discussed here:

https://lore.kernel.org/lkml/1495726955-27497-1-git-send-email-logang@deltatee.com/

Fix that now.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/include/asm/io.h