[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <44nBfJ3wrsz9sMx@ozlabs.org>
Date: Mon, 22 Apr 2019 00:19:04 +1000 (AEST)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Qian Cai <cai@....pw>, benh@...nel.crashing.org, paulus@...ba.org
Cc: Qian Cai <cai@....pw>, linuxppc-dev@...ts.ozlabs.org,
oohall@...il.com, linux-kernel@...r.kernel.org
Subject: Re: powerpc/pseries/pmem: fix a set but not used value
On Sun, 2019-04-07 at 01:54:47 UTC, Qian Cai wrote:
> The commit 4c5d87db4978 ("powerpc/pseries: PAPR persistent memory
> support") set a local variable "count" in dlpar_hp_pmem() but never
> use it.
>
> arch/powerpc/platforms/pseries/pmem.c: In function 'dlpar_hp_pmem':
> arch/powerpc/platforms/pseries/pmem.c:109:6: warning: variable 'count'
> set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Qian Cai <cai@....pw>
> Reviewed-by: Mukesh Ojha <mojha@...eaurora.org>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/e663e1e06089773cdab03023563aead6
cheers
Powered by blists - more mailing lists