include/linux/pinctrl/consumer.h:110:10: error: use of undeclared identifier 'ENOTSUPP'
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: a8c591ed6b672915e0be57843f943a2a723aff40 commit: b44aec87658e5d1882503ad1208ebf0b052f0ac0 [7345/8910] pinctrl: make the CONFIG_PINCTRL=n gpio config stubs return -ENOTSUPP config: i386-buildonly-randconfig-1002-20260924 (https://download.01.org/0day-ci/archive/20260924/[email protected]/config) compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260924/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
In file included from sound/soc/mediatek/mt8186/mt8186-afe-gpio.c:8:
>> include/linux/pinctrl/consumer.h:110:10: error: use of undeclared identifier 'ENOTSUPP'
110 | return -ENOTSUPP;
| ^~~~~~~~
include/linux/pinctrl/consumer.h:117:10: error: use of undeclared identifier 'ENOTSUPP'
117 | return -ENOTSUPP;
| ^~~~~~~~
In file included from sound/soc/mediatek/mt8186/mt8186-afe-gpio.c:10:
In file included from sound/soc/mediatek/mt8186/mt8186-afe-common.h:11:
In file included from include/sound/soc.h:26:
In file included from include/sound/ac97_codec.h:17:
In file included from include/sound/pcm.h:14:
In file included from include/linux/poll.h:10:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:98:11: warning: array index 3 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
98 | return (set->sig[3] | set->sig[2] |
| ^ ~
arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here
24 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from sound/soc/mediatek/mt8186/mt8186-afe-gpio.c:10:
In file included from sound/soc/mediatek/mt8186/mt8186-afe-common.h:11:
In file included from include/sound/soc.h:26:
In file included from include/sound/ac97_codec.h:17:
In file included from include/sound/pcm.h:14:
In file included from include/linux/poll.h:10:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:98:25: warning: array index 2 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
98 | return (set->sig[3] | set->sig[2] |
| ^ ~
arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here
24 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from sound/soc/mediatek/mt8186/mt8186-afe-gpio.c:10:
In file included from sound/soc/mediatek/mt8186/mt8186-afe-common.h:11:
In file included from include/sound/soc.h:26:
In file included from include/sound/ac97_codec.h:17:
In file included from include/sound/pcm.h:14:
In file included from include/linux/poll.h:10:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:114:11: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
114 | return (set1->sig[3] == set2->sig[3]) &&
| ^ ~
arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here
24 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from sound/soc/mediatek/mt8186/mt8186-afe-gpio.c:10:
In file included from sound/soc/mediatek/mt8186/mt8186-afe-common.h:11:
In file included from include/sound/soc.h:26:
In file included from include/sound/ac97_codec.h:17:
In file included from include/sound/pcm.h:14:
In file included from include/linux/poll.h:10:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:114:27: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
114 | return (set1->sig[3] == set2->sig[3]) &&
| ^ ~
arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here
24 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from sound/soc/mediatek/mt8186/mt8186-afe-gpio.c:10:
In file included from sound/soc/mediatek/mt8186/mt8186-afe-common.h:11:
In file included from include/sound/soc.h:26:
In file included from include/sound/ac97_codec.h:17:
In file included from include/sound/pcm.h:14:
In file included from include/linux/poll.h:10:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:115:5: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
115 | (set1->sig[2] == set2->sig[2]) &&
| ^ ~
arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here
24 | unsigned long sig[_NSIG_WORDS];
| ^ In file included from sound/soc/mediatek/mt8186/mt8186-afe-gpio.c:10:
In file included from sound/soc/mediatek/mt8186/mt8186-afe-common.h:11:
In file included from include/sound/soc.h:26:
In file included from include/sound/ac97_codec.h:17:
In file included from include/sound/pcm.h:14:
vim +/ENOTSUPP +110 include/linux/pinctrl/consumer.h
105
106 static inline int
107 pinctrl_gpio_get_config(struct gpio_chip *gc, unsigned int offset,
108 unsigned long *config)
109 {
> 110 return -ENOTSUPP;
111 }
112
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki