Greg Kurz b14adb4a27 spapr/xive: Rework error handling of kvmppc_xive_mmap()
Callers currently check failures of kvmppc_xive_mmap() through the
@errp argument, which isn't a recommanded practice. It is preferred
to use a return value when possible.

Since NULL isn't an invalid address in theory, it seems better to
return MAP_FAILED and to teach callers to handle it.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159707845972.1489912.719896767746375765.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2020-08-13 21:00:52 +10:00
..
2020-07-10 15:18:09 +02:00
2020-05-15 07:08:14 +02:00
2020-07-17 11:39:46 -05:00
2020-07-10 15:18:09 +02:00
2020-07-03 16:59:44 +01:00
2020-07-16 10:20:12 +02:00
2020-07-07 15:33:59 +02:00