Re: [PATCH 9/9] gpio: shared: generalize most code to firmware nodes
From: kernel test robot
Date: Thu Nov 05 2026 - 02:36:15 EST
Hi Bartosz,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4]
url: https://github.com/intel-lab-lkp/linux/commits/Bartosz-Golaszewski/device-property-fix-fwnode_name_eq-for-empty-node-names/20261104-150343
base: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
patch link: https://lore.kernel.org/r/20261104-fwnode-for-each-prop-v1-9-6e28fe1c72c4%40oss.qualcomm.com
patch subject: [PATCH 9/9] gpio: shared: generalize most code to firmware nodes
config: sh-randconfig-1001-20261105 (https://download.01.org/0day-ci/archive/20261105/202611051523.HtiYeAbK-lkp@xxxxxxxxx/config)
compiler: sh4-linux-gcc (GCC) 16.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261105/202611051523.HtiYeAbK-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202611051523.HtiYeAbK-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> drivers/gpio/gpiolib-shared.c:300:12: warning: 'gpio_shared_fwnode_traverse' defined but not used [-Wunused-function]
300 | static int gpio_shared_fwnode_traverse(struct fwnode_handle *curr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Assembler messages:
{standard input}:165: Error: offset to unaligned destination
{standard input}:477: Error: offset to unaligned destination
vim +/gpio_shared_fwnode_traverse +300 drivers/gpio/gpiolib-shared.c
299
> 300 static int gpio_shared_fwnode_traverse(struct fwnode_handle *curr)
301 {
302 int ret;
303
304 if (gpio_shared_fwnode_ignore(curr))
305 return 0;
306
307 ret = gpio_shared_fwnode_scan_properties(curr);
308 if (ret)
309 return ret;
310
311 fwnode_for_each_child_node_scoped(curr, child) {
312 ret = gpio_shared_fwnode_traverse(child);
313 if (ret)
314 return ret;
315 }
316
317 return 0;
318 }
319
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki