[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202403161617.AYNy6qpP-lkp@intel.com>
Date: Sat, 16 Mar 2024 16:18:15 +0800
From: kernel test robot <lkp@...el.com>
To: Ayush Singh <ayushdevel1325@...il.com>, linux-kernel@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, Ayush Singh <ayushdevel1325@...il.com>,
jkridner@...gleboard.org, robertcnelson@...gleboard.org,
Vaishnav M A <vaishnav@...gleboard.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Vignesh Raghavendra <vigneshr@...com>,
Tero Kristo <kristo@...nel.org>,
Derek Kiernan <derek.kiernan@....com>,
Dragan Cvetic <dragan.cvetic@....com>,
Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>, Jiri Slaby <jirislaby@...nel.org>,
Johan Hovold <johan@...nel.org>, Alex Elder <elder@...nel.org>,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-spi@...r.kernel.org, linux-serial@...r.kernel.org,
greybus-dev@...ts.linaro.org
Subject: Re: [PATCH v3 7/8] mikrobus: Add mikrobus driver
Hi Ayush,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 61996c073c9b070922ad3a36c981ca6ddbea19a5]
url: https://github.com/intel-lab-lkp/linux/commits/Ayush-Singh/dt-bindings-misc-Add-mikrobus-connector/20240316-025407
base: 61996c073c9b070922ad3a36c981ca6ddbea19a5
patch link: https://lore.kernel.org/r/20240315184908.500352-8-ayushdevel1325%40gmail.com
patch subject: [PATCH v3 7/8] mikrobus: Add mikrobus driver
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20240316/202403161617.AYNy6qpP-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240316/202403161617.AYNy6qpP-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403161617.AYNy6qpP-lkp@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:422:13: warning: variable 'retval' set but not used [-Wunused-but-set-variable]
422 | int retval, devcount = 0;
| ^~~~~~
vim +/retval +422 drivers/misc/mikrobus/mikrobus_manifest.c
417
418 static int mikrobus_manifest_parse_devices(struct addon_board_info *board)
419 {
420 struct greybus_descriptor_device *desc_device;
421 struct manifest_desc *desc, *next;
> 422 int retval, devcount = 0;
423
424 list_for_each_entry_safe(desc, next, &board->manifest_descs, links) {
425 if (desc->type != GREYBUS_TYPE_DEVICE)
426 continue;
427
428 desc_device = desc->data;
429 retval = mikrobus_manifest_attach_device(board, desc_device);
430 devcount++;
431 }
432
433 return devcount;
434 }
435
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists