[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202110150457.pABHtf5W-lkp@intel.com>
Date: Fri, 15 Oct 2021 04:35:25 +0800
From: kernel test robot <lkp@...el.com>
To: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
"David S. Miller" <davem@...emloft.net>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
netdev@...r.kernel.org, kernel@...gutronix.de,
Andrew Lunn <andrew@...n.ch>, Michael Walle <michael@...le.cc>,
Yang Yingliang <yangyingliang@...wei.com>,
Mark Brown <broonie@...nel.org>, linux-spi@...r.kernel.org
Subject: Re: [PATCH 2/2] net: w5100: Make w5100_remove() return void
Hi "Uwe,
I love your patch! Yet something to improve:
[auto build test ERROR on 9e1ff307c779ce1f0f810c7ecce3d95bbae40896]
url: https://github.com/0day-ci/linux/commits/Uwe-Kleine-K-nig/Let-spi-drivers-return-0-in-remove/20211014-221546
base: 9e1ff307c779ce1f0f810c7ecce3d95bbae40896
config: hexagon-randconfig-r041-20211014 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6c76d0101193aa4eb891a6954ff047eda2f9cf71)
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/0day-ci/linux/commit/8f3e2ba8c698fe9dc9df832c5f16e6d871ab85a4
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Uwe-Kleine-K-nig/Let-spi-drivers-return-0-in-remove/20211014-221546
git checkout 8f3e2ba8c698fe9dc9df832c5f16e6d871ab85a4
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/net/ethernet/wiznet/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> drivers/net/ethernet/wiznet/w5100.c:1069:10: error: expected ';' after return statement
return 0
^
;
1 error generated.
vim +1069 drivers/net/ethernet/wiznet/w5100.c
1064
1065 static int w5100_mmio_remove(struct platform_device *pdev)
1066 {
1067 w5100_remove(&pdev->dev);
1068
> 1069 return 0
1070 }
1071
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (40491 bytes)
Powered by blists - more mailing lists