[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wiFbzpyt1-9ZAigFYU7R8g9mEgJho3w7yGYe0h-W==nsw@mail.gmail.com>
Date: Tue, 1 Mar 2022 13:04:26 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: kernel test robot <lkp@...el.com>,
Xiaomeng Tong <xiam0nd.tong@...il.com>,
kbuild-all@...ts.01.org, Jakob Koschel <jakobkoschel@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Kees Cook <keescook@...omium.org>,
Jann Horn <jannh@...gle.com>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Linux-MM <linux-mm@...ck.org>, Netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH 1/6] Kbuild: compile kernel with gnu11 std
On Tue, Mar 1, 2022 at 12:54 PM Arnd Bergmann <arnd@...db.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
Powered by blists - more mailing lists