lkml.org 
[lkml]   [2022]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 1/6] Kbuild: compile kernel with gnu11 std
On Tue, Mar 1, 2022 at 12:54 PM Arnd Bergmann <arnd@arndb.de> wrote:
>
> gcc-11 only shows the one line warning here.

What an odd warning. Not even a filename, much less a line number?

> The source is
>
> /* PCI CFG04 status fields */
> #define PCI_CFG04_STAT_BIT 16
> #define PCI_CFG04_STAT 0xffff0000
> #define PCI_CFG04_STAT_66_MHZ (1 << 21)
> #define PCI_CFG04_STAT_FBB (1 << 23)
> #define PCI_CFG04_STAT_MDPE (1 << 24)
> #define PCI_CFG04_STAT_DST (1 << 25)
> #define PCI_CFG04_STAT_STA (1 << 27)
> #define PCI_CFG04_STAT_RTA (1 << 28)
> #define PCI_CFG04_STAT_RMA (1 << 29)
> #define PCI_CFG04_STAT_SSE (1 << 30)
> #define PCI_CFG04_STAT_PE (1 << 31)
> #define KORINA_STAT (PCI_CFG04_STAT_MDPE | \
> PCI_CFG04_STAT_STA | \
> PCI_CFG04_STAT_RTA | \
> PCI_CFG04_STAT_RMA | \
> PCI_CFG04_STAT_SSE | \
> PCI_CFG04_STAT_PE)
> #define KORINA_CNFG1 ((KORINA_STAT<<16)|KORINA_CMD)

Yeah, looks like that "<< 16" is likely just wrong.

I'm guessing that that KORINA_CNFG1 thing either ends up not
mattering, or - probably more likely - nobody really used that
platform at all. It has had pretty much zero updates sinced 2008.

Linus

\
 
 \ /
  Last update: 2022-03-01 22:05    [W:0.264 / U:0.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site