Re: stable-rc-5.4.y: arch/mips/kernel/cpu-probe.c:2125:9: error: duplicate case value 2125 case PRID_COMP_NETLOGIC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 19, 2023 at 03:15:15PM +0530, Naresh Kamboju wrote:
> On Sun, 18 Jun 2023 at 12:42, Pascal Ernster <git@xxxxxxxxxxxxxx> wrote:
> >
> > [2023-06-18 07:28] Naresh Kamboju:
> > > Following regressions found on stable rc 5.4 while building MIPS configs,
> > >
> > > Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
> > >
> > > MIPS: Restore Au1300 support
> > > [ Upstream commit f2041708dee30a3425f680265c337acd28293782 ]
> > >
> > >
> > > Build log:
> > > ======
> > > arch/mips/kernel/cpu-probe.c: In function 'cpu_probe':
> > > arch/mips/kernel/cpu-probe.c:2125:9: error: duplicate case value
> > >   2125 |         case PRID_COMP_NETLOGIC:
> > >        |         ^~~~
> > > arch/mips/kernel/cpu-probe.c:2099:9: note: previously used here
> > >   2099 |         case PRID_COMP_NETLOGIC:
> > >        |         ^~~~
> > > make[3]: *** [scripts/Makefile.build:262: arch/mips/kernel/cpu-probe.o] Error 1
> >
> > The same issue also affects both the 5.10 and the 5.15 branch.
> 
> MIPS builds are breaking on stable-rc 5.4, 5.10 and 5.15 branches.
> Due to following patch,
> ----
> 
> Subject: MIPS: Restore Au1300 support
> 
> [ Upstream commit f2041708dee30a3425f680265c337acd28293782 ]
> 
> The Au1300, at least the one I have to test, uses the NetLogic vendor
> ID, but commit 95b8a5e0111a ("MIPS: Remove NETLOGIC support") also
> dropped Au1300 detection.  Restore Au1300 detection.
> 
> Tested on DB1300 with Au1380 chip.
> 
> Signed-off-by: Manuel Lauss <manuel.lauss@xxxxxxxxx>
> Signed-off-by: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>
> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>
> ---
>  arch/mips/kernel/cpu-probe.c | 5 +++++
>  1 file changed, 5 insertions(+)

Ah, thanks, I'll go drop this now, for some reason I thought it already
was gone :(

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux