Rasmus Villemoes e2be23712a powerpc/pseries: Fix error return value in cmm_mem_going_offline()
cmm_mem_going_offline() is (only) called from cmm_memory_cb(), which
sends the return value through notifier_from_errno(). The latter
expects 0 or -errno (notifier_to_errno(notifier_from_errno(x)) is 0
for any x >= 0, so passing a positive value cannot make sense). Hence
negate ENOMEM.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-07-05 23:58:52 +10:00
..
2014-11-03 12:12:32 +11:00
2016-06-14 13:58:26 +10:00
2016-06-14 13:58:26 +10:00
2016-06-16 22:39:54 +10:00
2013-05-01 17:29:45 -04:00
2016-06-21 15:30:56 +10:00