Re: [PATCH v2 09/11] powerpc/platforms: Move files from 4xx to 44x

From: Arnd Bergmann
Date: Tue Mar 31 2020 - 12:04:31 EST


On Tue, Mar 31, 2020 at 5:26 PM Christophe Leroy
<christophe.leroy@xxxxxx> wrote:
> Le 31/03/2020 Ã 17:14, Arnd Bergmann a Ãcrit :
> > On Tue, Mar 31, 2020 at 9:49 AM Christophe Leroy
> > <christophe.leroy@xxxxxx> wrote:
> >>
> >> Only 44x uses 4xx now, so only keep one directory.
> >>
> >> Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxx>
> >> ---
> >> arch/powerpc/platforms/44x/Makefile | 9 +++++++-
> >> arch/powerpc/platforms/{4xx => 44x}/cpm.c | 0
> >
> > No objections to moving everything into one place, but I wonder if the
> > combined name should be 4xx instead of 44x, given that 44x currently
> > include 46x and 47x. OTOH your approach has the advantage of
> > moving fewer files.
> >
>
> In that case, should we also rename CONFIG_44x to CONFIG_4xx ?

That has the risk of breaking user's defconfig files, but given the
small number of users, it may be nicer for consistency. In either
case, the two symbols should probably hang around as synonyms,
the question is just which one is user visible.

Arnd