All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 7345/8910] include/linux/pinctrl/consumer.h:110:17: error: 'ENOTSUPP' undeclared; did you mean 'EOPNOTSUPP'?
@ 2026-09-24  1:05 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-24  1:05 UTC (permalink / raw)
  To: Mehmet Fide; +Cc: oe-kbuild-all, Linus Walleij, Bartosz Golaszewski

tree:   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: csky-randconfig-1001-20260924 (https://download.01.org/0day-ci/archive/20260924/202609240855.U59akHDO-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 14.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260924/202609240855.U59akHDO-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609240855.U59akHDO-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from sound/soc/mediatek/mt8186/mt8186-afe-gpio.c:8:
   include/linux/pinctrl/consumer.h: In function 'pinctrl_gpio_get_config':
>> include/linux/pinctrl/consumer.h:110:17: error: 'ENOTSUPP' undeclared (first use in this function); did you mean 'EOPNOTSUPP'?
     110 |         return -ENOTSUPP;
         |                 ^~~~~~~~
         |                 EOPNOTSUPP
   include/linux/pinctrl/consumer.h:110:17: note: each undeclared identifier is reported only once for each function it appears in
   include/linux/pinctrl/consumer.h: In function 'pinctrl_gpio_set_config':
   include/linux/pinctrl/consumer.h:117:17: error: 'ENOTSUPP' undeclared (first use in this function); did you mean 'EOPNOTSUPP'?
     117 |         return -ENOTSUPP;
         |                 ^~~~~~~~
         |                 EOPNOTSUPP


vim +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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-24  1:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-24  1:05 [linux-next:master 7345/8910] include/linux/pinctrl/consumer.h:110:17: error: 'ENOTSUPP' undeclared; did you mean 'EOPNOTSUPP'? kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.