powerpc/pseries/cmm: Report errors when registering notifiers fails
authorDavid Hildenbrand <david@redhat.com>
Thu, 31 Oct 2019 14:29:23 +0000 (15:29 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 13 Nov 2019 05:58:00 +0000 (16:58 +1100)
commit022da223180137b25f070a7d0b1fe114e1e87433
treeea3ff8b8787e7ac2541d40b9329482384bc4ef41
parent7d8212747435c534c8d564fbef4541a463c976ff
powerpc/pseries/cmm: Report errors when registering notifiers fails

If we don't set the rc, we will return "0", making it look like we
succeeded.

Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191031142933.10779-3-david@redhat.com
arch/powerpc/platforms/pseries/cmm.c