[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <42YPr04cz1z9sDP@ozlabs.org>
Date: Mon, 15 Oct 2018 15:01:04 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: YueHaibing <yuehaibing@...wei.com>, <benh@...nel.crashing.org>,
<paulus@...ba.org>, <nfont@...ux.vnet.ibm.com>
Cc: YueHaibing <yuehaibing@...wei.com>, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org
Subject: Re: [v3, -next] powerpc/pseries/memory-hotplug: Fix return value type of find_aa_index
On Tue, 2018-10-09 at 13:59:13 UTC, YueHaibing wrote:
> 'aa_index' is defined as an unsigned value, but find_aa_index
> may return -1 when dlpar_clone_property fails. So change
> find_aa_index return value type to bool, which indicate 'aa_index'
> whether found or not.
>
> Fixes: c05a5a40969e ("powerpc/pseries: Dynamic add entires to associativity lookup array")
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> Reviewed-by: Nathan Fontenot nfont@...ux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/b45e9d761ba2d60044b610297e3ef9
cheers
Powered by blists - more mailing lists