tree: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git tmp-gpiolib-of-quirks head: 4b127b2f83c2dc81d6086bcadc7edf23ceb68c2c commit: 936ff29bfec157753a9c58d8814dbaa4f33bbf20 [53/66] ASoC: tas5086: switch to using gpiod API config: i386-randconfig-a006 compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git/commit/?id=936ff29bfec157753a9c58d8814dbaa4f33bbf20 git remote add dtor-input https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git git fetch --no-tags dtor-input tmp-gpiolib-of-quirks git checkout 936ff29bfec157753a9c58d8814dbaa4f33bbf20 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash sound/soc/codecs/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): >> sound/soc/codecs/tas5086.c:467:28: error: incompatible pointer types passing 'struct gpio_decs *' to parameter of type 'struct gpio_desc *' [-Werror,-Wincompatible-pointer-types] gpiod_set_value_cansleep(priv->reset_gpio, 1); ^~~~~~~~~~~~~~~~ include/linux/gpio/consumer.h:143:49: note: passing argument to parameter 'desc' here void gpiod_set_value_cansleep(struct gpio_desc *desc, int value); ^ sound/soc/codecs/tas5086.c:469:28: error: incompatible pointer types passing 'struct gpio_decs *' to parameter of type 'struct gpio_desc *' [-Werror,-Wincompatible-pointer-types] gpiod_set_value_cansleep(priv->reset_gpio, 0); ^~~~~~~~~~~~~~~~ include/linux/gpio/consumer.h:143:49: note: passing argument to parameter 'desc' here void gpiod_set_value_cansleep(struct gpio_desc *desc, int value); ^ sound/soc/codecs/tas5086.c:872:28: error: incompatible pointer types passing 'struct gpio_decs *' to parameter of type 'struct gpio_desc *' [-Werror,-Wincompatible-pointer-types] gpiod_set_value_cansleep(priv->reset_gpio, 1); ^~~~~~~~~~~~~~~~ include/linux/gpio/consumer.h:143:49: note: passing argument to parameter 'desc' here void gpiod_set_value_cansleep(struct gpio_desc *desc, int value); ^ >> sound/soc/codecs/tas5086.c:943:19: error: incompatible pointer types assigning to 'struct gpio_decs *' from 'struct gpio_desc *' [-Werror,-Wincompatible-pointer-types] priv->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/codecs/tas5086.c:948:26: error: incompatible pointer types passing 'struct gpio_decs *' to parameter of type 'struct gpio_desc *' [-Werror,-Wincompatible-pointer-types] gpiod_set_consumer_name(priv->reset_gpio, "TAS5086 Reset"); ^~~~~~~~~~~~~~~~ include/linux/gpio/consumer.h:168:47: note: passing argument to parameter 'desc' here int gpiod_set_consumer_name(struct gpio_desc *desc, const char *name); ^ 5 errors generated. vim +467 sound/soc/codecs/tas5086.c 462 463 static void tas5086_reset(struct tas5086_private *priv) 464 { 465 if (priv->reset_gpio) { 466 /* Reset codec - minimum assertion time is 400ns */ > 467 gpiod_set_value_cansleep(priv->reset_gpio, 1); 468 udelay(1); 469 gpiod_set_value_cansleep(priv->reset_gpio, 0); 470 471 /* Codec needs ~15ms to wake up */ 472 msleep(15); 473 } 474 } 475 -- 0-DAY CI Kernel Test Service https://01.org/lkp