[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Ylf8lxYjcn2xFPLT@kroah.com>
Date: Thu, 14 Apr 2022 12:51:03 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Alvin Šipraga <ALSI@...g-olufsen.dk>
Cc: kernel test robot <lkp@...el.com>,
Luiz Angelo Daros de Luca <luizluca@...il.com>,
"llvm@...ts.linux.dev" <llvm@...ts.linux.dev>,
"kbuild-all@...ts.01.org" <kbuild-all@...ts.01.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Linus Walleij <linus.walleij@...aro.org>,
Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
Sasha Levin <sashal@...nel.org>
Subject: Re: [linux-stable-rc:queue/5.17 638/1505]
drivers/net/dsa/realtek/realtek-smi-core.c:494:34: warning: unused variable
'realtek_smi_of_match'
On Tue, Apr 12, 2022 at 10:32:31AM +0000, Alvin Šipraga wrote:
> Hello test robot,
>
> On Tue, Apr 12, 2022 at 03:36:24PM +0800, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git queue/5.17
> > head: 22fa848c25c536c9ec7b151d56caa65b3e5b8b68
> > commit: b0cbd13db467ef03b28297d3effb6b726c0dcba8 [638/1505] net: dsa: realtek-smi: move to subdirectory
> > config: x86_64-randconfig-r033-20220411 (https://download.01.org/0day-ci/archive/20220412/202204121538.1pGOoGfb-lkp@intel.com/config)
> > compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project fe2478d44e4f7f191c43fef629ac7a23d0251e72)
> > reproduce (this is a W=1 build):
> > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> > chmod +x ~/bin/make.cross
> > # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=b0cbd13db467ef03b28297d3effb6b726c0dcba8
> > git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
> > git fetch --no-tags linux-stable-rc queue/5.17
> > git checkout b0cbd13db467ef03b28297d3effb6b726c0dcba8
> > # save the config file to linux build tree
> > mkdir build_dir
> > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/net/dsa/realtek/
> >
> > If you fix the issue, kindly add following tag as appropriate
> > Reported-by: kernel test robot <lkp@...el.com>
> >
> > All warnings (new ones prefixed by >>):
> >
> > >> drivers/net/dsa/realtek/realtek-smi-core.c:494:34: warning: unused variable 'realtek_smi_of_match' [-Wunused-const-variable]
> > static const struct of_device_id realtek_smi_of_match[] = {
> > ^
> > 1 warning generated.
>
> This should be fixed by including the commit:
>
> 109d899452ba1 ("net: dsa: realtek: make interface drivers depend on OF").
>
> in the stable tree.
Great, can you provide a working backport so it can be included?
thanks,
greg k-h
Powered by blists - more mailing lists