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-07-27 16:12:10 +01:00
2020-06-05 17:23:09 +01:00
2020-06-15 22:05:28 +02:00
2020-08-03 17:55:31 +01:00
2020-07-06 17:01:11 +02:00
2020-07-21 16:13:04 +02:00
2020-07-21 16:23:43 +02:00
2020-07-13 17:25:37 -07:00
2020-07-27 10:24:39 -04:00
2020-07-10 15:18:08 +02:00
2020-06-15 22:05:28 +02:00
2020-07-21 10:56:47 +02:00
2020-07-21 08:41:15 +02:00
2020-07-10 15:18:08 +02:00
2020-06-15 22:05:28 +02:00
2020-07-10 15:18:08 +02:00
2020-07-16 12:30:54 -05:00
2020-07-27 10:24:39 -04:00
2020-07-10 15:18:08 +02:00
2020-07-24 16:15:28 +02:00
2020-08-13 21:00:52 +10:00
2020-05-15 07:08:14 +02:00
2020-07-17 11:39:46 -05:00
2020-07-10 15:18:08 +02:00
2020-06-15 22:05:28 +02:00
2020-07-10 15:18:08 +02:00
2020-07-21 16:23:43 +02:00
2020-07-10 15:18:08 +02:00
2020-07-10 15:18:08 +02:00
2020-07-27 16:12:10 +01:00
2020-02-28 14:57:19 -05:00
2020-08-04 14:14:48 +08:00
2020-07-13 14:36:11 +01:00
2020-05-15 07:08:52 +02:00
2020-07-21 16:47:54 +02:00
2020-06-15 22:05:28 +02:00
2020-07-27 10:24:39 -04:00
2020-06-15 22:05:28 +02:00
2020-07-10 15:18:09 +02:00
2020-06-15 22:05:28 +02:00
2020-08-13 21:00:52 +10:00
2020-05-04 16:07:43 +01:00
2020-07-22 09:39:46 -07:00
2020-07-22 09:39:46 -07:00
2020-07-10 15:18:08 +02:00
2020-07-30 16:53:34 +02:00
2020-07-10 15:18:08 +02:00
2020-07-24 15:03:09 +02:00
2020-07-27 09:40:08 +01:00
2020-06-22 18:37:12 +02:00
2020-07-10 15:18:08 +02:00
2020-07-10 15:18:08 +02:00
2020-07-10 15:18:08 +02:00
2020-07-03 16:59:44 +01:00
2020-08-03 17:56:11 +01:00
2020-07-15 14:57:33 -04:00
2020-02-28 14:57:19 -05:00
2020-06-09 19:01:56 +02:00
2020-07-24 16:15:28 +02:00
2020-07-16 10:20:12 +02:00
2020-08-04 11:48:17 -04:00
2020-06-23 11:39:47 +01:00
2020-07-13 14:36:09 +01:00
2020-02-04 09:00:57 +01:00
2020-06-23 16:07:07 +02:00
2020-07-11 11:02:05 +02:00
2020-07-07 15:33:59 +02:00