lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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