Hi Vaishnav,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on char-misc/char-misc-testing]
[also build test WARNING on linux/master robh/for-next soc/for-next linus/master v5.9-rc1
next-20200818]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Vaishnav-M-A/mikroBUS-driver-for...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
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
# 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/misc/mikrobus/mikrobus_manifest.c: In function
'mikrobus_manifest_parse_devices':
> drivers/misc/mikrobus/mikrobus_manifest.c:363:6: warning:
variable 'retval' set but not used [-Wunused-but-set-variable]
363 |
int retval;
| ^~~~~~
#
https://github.com/0day-ci/linux/commit/c988bea7af28a40a4c0a835b6765a2c4f...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Vaishnav-M-A/mikroBUS-driver-for-add-on-boards/20200818-205058
git checkout c988bea7af28a40a4c0a835b6765a2c4fe154c04
vim +/retval +363 drivers/misc/mikrobus/mikrobus_manifest.c
358
359 static int mikrobus_manifest_parse_devices(struct addon_board_info *board)
360 {
361 struct greybus_descriptor_device *desc_device;
362 struct manifest_desc *desc, *next;
363 int retval;
364 int devcount = 0;
365
366 list_for_each_entry_safe(desc, next, &board->manifest_descs, links) {
367 if (desc->type != GREYBUS_TYPE_DEVICE)
368 continue;
369 desc_device = desc->data;
370 retval = mikrobus_manifest_attach_device(board, desc_device);
371 devcount++;
372 }
373 return devcount;
374 }
375
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org