Greg Kurz
f9b43958b9
spapr: Simplify error path of spapr_core_plug()
...
spapr_core_pre_plug() already guarantees that the slot for the given core
ID is available. It is thus safe to assume that spapr_find_cpu_slot()
returns a slot during plug. Turn the error path into an assertion.
It is also safe to assume that no device is attached to the corresponding
DRC and that spapr_drc_attach() shouldn't fail.
Pass &error_abort to spapr_drc_attach() and simplify error handling.
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <20201201113728.885700-4-groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2020-12-14 15:54:12 +11:00
..
2020-11-05 15:21:11 +01:00
2020-12-09 13:04:17 -05:00
2020-08-21 06:30:32 -04:00
2020-12-10 12:15:18 -05:00
2020-12-10 12:15:18 -05:00
2020-11-15 17:04:40 +01:00
2020-12-10 12:15:18 -05:00
2020-12-10 12:15:03 -05:00
2020-12-10 12:15:10 -05:00
2020-12-11 13:50:35 +00:00
2020-09-22 16:48:29 -04:00
2020-12-10 12:15:07 -05:00
2020-12-11 13:50:35 +00:00
2020-12-10 12:15:04 -05:00
2020-11-15 17:04:40 +01:00
2020-12-10 12:15:18 -05:00
2020-09-23 16:07:44 +01:00
2020-11-15 17:04:40 +01:00
2020-12-10 12:15:18 -05:00
2020-12-01 15:23:05 +00:00
2020-11-17 12:56:32 +00:00
2020-12-14 15:54:12 +11:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-12-09 13:04:17 -05:00
2020-12-10 12:15:18 -05:00
2020-12-12 18:06:01 +01:00
2020-11-15 17:04:40 +01:00
2020-12-10 12:15:18 -05:00
2020-12-10 12:15:18 -05:00
2020-12-10 12:15:03 -05:00
2020-12-10 12:15:08 -05:00
2020-12-10 12:15:04 -05:00
2020-12-10 12:15:18 -05:00
2020-08-21 06:30:25 -04:00
2020-12-10 12:15:18 -05:00
2020-08-21 06:30:33 -04:00
2020-12-10 12:15:18 -05:00
2020-11-15 17:04:40 +01:00
2020-12-10 12:15:18 -05:00
2020-08-27 14:04:55 -04:00
2020-12-14 15:54:12 +11:00
2020-09-23 16:07:44 +01:00
2020-12-10 12:15:18 -05:00
2020-10-18 16:21:42 +01:00
2020-12-10 12:15:06 -05:00
2020-12-11 13:50:35 +00:00
2020-11-16 13:22:17 -05:00
2020-12-10 12:15:03 -05:00
2020-08-21 06:30:25 -04:00
2020-12-10 12:15:06 -05:00
2020-12-10 12:15:08 -05:00
2020-12-10 12:15:18 -05:00
2020-12-10 12:15:18 -05:00
2020-12-10 12:15:04 -05:00
2020-11-17 12:56:32 +00:00
2020-11-15 16:44:18 +01:00
2020-11-15 16:40:30 +01:00
2020-08-21 06:30:33 -04:00
2020-11-20 10:43:41 -05:00
2020-11-23 10:05:58 -07:00
2020-12-10 12:15:10 -05:00
2020-12-11 11:38:10 +01:00
2020-11-15 17:04:40 +01:00
2020-08-21 06:30:33 -04:00
2020-09-25 16:52:08 -07:00
2020-12-10 11:30:44 +00:00
2020-08-21 06:30:33 -04:00