[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <24012ba289823e9e38c2f89116a5f61581ef3909.camel@perches.com>
Date: Tue, 21 Jan 2020 03:15:49 -0800
From: Joe Perches <joe@...ches.com>
To: Segher Boessenkool <segher@...nel.crashing.org>
Cc: Chen Zhou <chenzhou10@...wei.com>, benh@...nel.crashing.org,
paulus@...ba.org, mpe@...erman.id.au, gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org, nivedita@...m.mit.edu,
tglx@...utronix.de, linuxppc-dev@...ts.ozlabs.org,
allison@...utok.net
Subject: Re: [PATCH -next] powerpc/maple: fix comparing pointer to 0
On Tue, 2020-01-21 at 01:47 -0600, Segher Boessenkool wrote:
> On Mon, Jan 20, 2020 at 05:52:15PM -0800, Joe Perches wrote:
> > On Tue, 2020-01-21 at 09:31 +0800, Chen Zhou wrote:
> > > Fixes coccicheck warning:
> > > ./arch/powerpc/platforms/maple/setup.c:232:15-16:
> > > WARNING comparing pointer to 0
> >
> > Does anyone have or use these powerpc maple boards anymore?
> >
> > Maybe the whole codebase should just be deleted instead.
>
> This is used for *all* non-Apple 970 systems (not running virtualized),
> not just actual Maple.
OK, then likely this Kconfig description should be updated
(and the http://www.970eval.com link is no longer about powerpc)
$ cat arch/powerpc/platforms/maple/Kconfig
# SPDX-License-Identifier: GPL-2.0
config PPC_MAPLE
depends on PPC64 && PPC_BOOK3S && CPU_BIG_ENDIAN
bool "Maple 970FX Evaluation Board"
select FORCE_PCI
select MPIC
select U3_DART
select MPIC_U3_HT_IRQS
select GENERIC_TBSYNC
select PPC_UDBG_16550
select PPC_970_NAP
select PPC_NATIVE
select PPC_RTAS
select MMIO_NVRAM
select ATA_NONSTANDARD if ATA
help
This option enables support for the Maple 970FX Evaluation Board.
For more information, refer to <http://www.970eval.com>
Powered by blists - more mailing lists