Re: [PATCH for-6.0 9/9] spapr: spapr_drc_attach() cannot fail

2020-11-22 Thread David Gibson
On Sat, Nov 21, 2020 at 12:42:08AM +0100, Greg Kurz wrote: > All users are passing &error_abort already. Document the fact > that spapr_drc_attach() should only be passed a free DRC, which > is supposedly the case if appropriate checking is done earlier. > > Signed-off-by: Greg Kurz Applied to p

[PATCH for-6.0 9/9] spapr: spapr_drc_attach() cannot fail

2020-11-20 Thread Greg Kurz
All users are passing &error_abort already. Document the fact that spapr_drc_attach() should only be passed a free DRC, which is supposedly the case if appropriate checking is done earlier. Signed-off-by: Greg Kurz --- include/hw/ppc/spapr_drc.h | 8 +++- hw/ppc/spapr.c | 6 +++--