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
..
2019-08-16 13:31:53 +02:00
2020-07-10 19:26:55 -04:00
2020-07-10 19:26:55 -04:00
2020-02-28 16:14:57 +00:00
2020-07-10 15:18:08 +02:00
2020-02-28 16:14:57 +00:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2020-01-17 14:27:16 +00:00
2019-06-17 15:13:19 +01:00
2019-08-16 13:31:52 +02:00
2020-07-10 15:18:08 +02:00
2020-07-10 15:18:08 +02:00
2019-06-17 15:13:19 +01:00
2019-06-12 13:18:33 +02:00
2020-08-03 17:55:03 +01:00
2019-08-16 13:31:52 +02:00
2020-03-23 17:22:30 +00:00
2020-03-23 17:22:30 +00:00
2020-01-07 17:24:29 +04:00
2020-01-24 20:59:15 +01:00
2020-06-15 22:05:28 +02:00
2018-09-25 15:13:24 +01:00
2020-01-07 17:24:29 +04:00
2019-08-16 13:31:52 +02:00
2020-06-15 22:05:28 +02:00
2019-12-17 19:33:49 +01:00
2020-06-19 08:24:07 -07:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:52 +02:00
2020-06-10 12:10:33 -04:00
2020-06-27 19:42:22 +02:00
2019-08-16 13:31:52 +02:00
2020-06-27 19:42:22 +02:00
2020-06-27 19:42:22 +02:00
2020-01-24 20:59:15 +01:00
2020-07-10 15:18:08 +02:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2019-08-16 13:31:52 +02:00
2019-03-12 14:33:04 +11:00
2020-07-10 15:18:08 +02:00
2020-06-09 19:01:56 +02:00
2020-07-10 15:18:08 +02:00
2020-06-22 18:37:12 +02:00
2020-01-27 12:13:09 +01:00
2020-06-15 22:05:28 +02:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:52 +02:00
2020-08-13 21:00:52 +10:00
2020-08-13 20:56:01 +10:00
2019-10-04 19:08:22 +10:00
2020-07-10 15:18:08 +02:00
2019-08-16 13:31:53 +02:00
2019-12-17 10:39:48 +11:00
2020-07-10 15:18:08 +02:00
2020-01-24 20:59:15 +01:00
2020-08-13 20:56:01 +10:00
2020-01-24 20:59:15 +01:00
2019-08-16 13:31:52 +02:00