[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK8P3a1Egk5BA1Q155dSN=E0DvBmzGqQSqzDayYf6mZZ7oYVSg@mail.gmail.com>
Date: Fri, 15 Jul 2022 09:40:46 +0200
From: Arnd Bergmann <arnd@...nel.org>
To: Arun Ramadoss <arun.ramadoss@...rochip.com>
Cc: clang-built-linux <llvm@...ts.linux.dev>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Networking <netdev@...r.kernel.org>,
Woojung Huh <woojung.huh@...rochip.com>,
Microchip Linux Driver Support <UNGLinuxDriver@...rochip.com>,
Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Tom Rix <trix@...hat.com>, Russell King <linux@...linux.org.uk>
Subject: Re: [Patch net-next] net: dsa: microchip: fix Clang
-Wunused-const-variable warning on 'ksz_dt_ids'
On Fri, Jul 15, 2022 at 7:33 AM Arun Ramadoss
<arun.ramadoss@...rochip.com> wrote:
>
> This patch removes the of_match_ptr() pointer when dereferencing the
> ksz_dt_ids which produce the unused variable warning.
>
> Reported-by: kernel test robot <lkp@...el.com>
> Suggested-by: Arnd Bergmann <arnd@...nel.org>
> Signed-off-by: Arun Ramadoss <arun.ramadoss@...rochip.com>
Looks good to me, thanks!
Reviewed-by: Arnd Bergmann <arnd@...db.de>
Powered by blists - more mailing lists