Re: [PATCH v3] gpio: amdptpci: add support for AMD PT PCI controller

From: kernel test robot

Date: Tue Nov 03 2026 - 13:10:49 EST


Hi Szuying,

kernel test robot noticed the following build errors:

[auto build test ERROR on brgl/gpio/for-next]
[also build test ERROR on linus/master v7.3 next-20261030]
[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/Szuying-Chen/gpio-amdptpci-add-support-for-AMD-PT-PCI-controller/20261028-164531
base: https://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git gpio/for-next
patch link: https://lore.kernel.org/r/20261028084531.6237-1-Chloe_Chen%40asmedia.com.tw
patch subject: [PATCH v3] gpio: amdptpci: add support for AMD PT PCI controller
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20261104/202611040148.eJCUsJBi-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/20261104/202611040148.eJCUsJBi-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/202611040148.eJCUsJBi-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/gpio/gpio-amdptpci.c:75:8: error: unnamed field has incomplete type
75 | struct gpio_generic_chipgen;
| ^~~~~~~~~~~~~~~~~~~~
drivers/gpio/gpio-amdptpci.c: In function 'pt27_gpio_isr':
>> drivers/gpio/gpio-amdptpci.c:369:51: error: 'struct pt27_gpio' has no member named 'gen'
369 | if (generic_handle_domain_irq(chip->gen.gc.irq.domain, hwirq)) {
| ^~
drivers/gpio/gpio-amdptpci.c: In function 'pt27_gpio_probe':
drivers/gpio/gpio-amdptpci.c:454:43: error: 'struct pt27_gpio' has no member named 'gen'
454 | ret = gpio_generic_chip_init(&chip->gen, &config);
| ^~
drivers/gpio/gpio-amdptpci.c:458:19: error: 'struct pt27_gpio' has no member named 'gen'
458 | gc = &chip->gen.gc;
| ^~
drivers/gpio/gpio-amdptpci.c: In function 'pt27_gpio_runtime_suspend':
>> drivers/gpio/gpio-amdptpci.c:561:17: error: break statement not within loop or switch
561 | break;
| ^~~~~


vim +75 drivers/gpio/gpio-amdptpci.c

72
73 struct pt27_gpio {
74 struct device *dev;
> 75 struct gpio_generic_chipgen;
76 void __iomem *base;
77 struct pt27_saved_regs saved;
78 raw_spinlock_t lock;
79 u16 wake_mask;
80 bool use_msi;
81 int irq;
82 };
83

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki