tree:
https://github.com/shenki/linux microwatt-5.11
head: 752e38b97203f6617ac188ccf789c880947f58a5
commit: 04f15e4b7c4214c61eaff30bddcd659b0c466460 [16/17] net: Driver for LiteETH network
interface
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 9.3.0
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://github.com/shenki/linux/commit/04f15e4b7c4214c61eaff30bddcd659b0c...
git remote add shenki
https://github.com/shenki/linux
git fetch --no-tags shenki microwatt-5.11
git checkout 04f15e4b7c4214c61eaff30bddcd659b0c466460
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/net/ethernet/litex/litex_liteeth.c: In function 'liteeth_remove':
> drivers/net/ethernet/litex/litex_liteeth.c:350:18: warning:
variable 'priv' set but not used [-Wunused-but-set-variable]
350 |
struct liteeth *priv;
| ^~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC
Depends on SOUND && !UML && SND && SND_SOC &&
SND_ATMEL_SOC && HAS_DMA
Selected by
- SND_ATMEL_SOC_SSC && SOUND && !UML && SND && SND_SOC
&& SND_ATMEL_SOC
- SND_ATMEL_SOC_SSC_PDC && SOUND && !UML && SND &&
SND_SOC && SND_ATMEL_SOC && ATMEL_SSC
vim +/priv +350 drivers/net/ethernet/litex/litex_liteeth.c
346
347 static int liteeth_remove(struct platform_device *pdev)
348 {
349 struct net_device *netdev;
350 struct liteeth *priv;
351
352 netdev = platform_get_drvdata(pdev);
353 priv = netdev_priv(netdev);
354
355 unregister_netdev(netdev);
356
357 free_netdev(netdev);
358
359 return 0;
360 }
361
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org