Re: [PATCH v1 4/4] pinctrl: pistachio: Replace open coded fwnode_is_gpiochip()
From: kernel test robot
Date: Sun Aug 30 2026 - 17:14:18 EST
Hi Andy,
kernel test robot noticed the following build errors:
[auto build test ERROR on brgl/gpio/for-next]
[also build test ERROR on linusw-pinctrl/devel linusw-pinctrl/for-next linus/master v7.2 next-20260827]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Andy-Shevchenko/gpio-Split-fwnode_is_gpiochip-helper/20260824-094232
base: https://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git gpio/for-next
patch link: https://lore.kernel.org/r/20260824074427.3226457-5-andriy.shevchenko%40linux.intel.com
patch subject: [PATCH v1 4/4] pinctrl: pistachio: Replace open coded fwnode_is_gpiochip()
config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20260830/202608302328.ToabNDV1-lkp@xxxxxxxxx/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260830/202608302328.ToabNDV1-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/202608302328.ToabNDV1-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
In file included from include/linux/bcma/bcma_driver_chipcommon.h:7,
from include/linux/bcma/bcma.h:9,
from arch/x86/kernel/early-quirks.c:17:
include/linux/gpio/driver.h: In function 'fwnode_is_gpiochip':
>> include/linux/gpio/driver.h:888:40: error: 'child' undeclared (first use in this function)
888 | return fwnode_property_present(child, "gpio-controller");
| ^~~~~
include/linux/gpio/driver.h:888:40: note: each undeclared identifier is reported only once for each function it appears in
vim +/child +888 include/linux/gpio/driver.h
885
886 static inline bool fwnode_is_gpiochip(struct fwnode_handle *fwnode)
887 {
> 888 return fwnode_property_present(child, "gpio-controller");
889 }
890
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki