Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1437050 > unrolled thread

Re: powerpc/pseries: fix error return value in cmm_mem_going_offline

Started byMichael Ellerman <mpe@ellerman.id.au>
First post2016-07-05 16:20 +0200
Last post2016-07-05 16:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: powerpc/pseries: fix error return value in cmm_mem_going_offline Michael Ellerman <mpe@ellerman.id.au> - 2016-07-05 16:20 +0200

#1437050 — Re: powerpc/pseries: fix error return value in cmm_mem_going_offline

FromMichael Ellerman <mpe@ellerman.id.au>
Date2016-07-05 16:20 +0200
SubjectRe: powerpc/pseries: fix error return value in cmm_mem_going_offline
Message-ID<rRzmL-3UP-25@gated-at.bofh.it>
On Tue, 2016-08-03 at 21:26:17 UTC, Rasmus Villemoes wrote:
> 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>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/e2be23712a9c8e3710c9e2684a

cheers

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web