linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [linusw-gpio:gpio-descriptors-spi 10/10] drivers/spi/spi-st-ssc4.c:176:24: error: 'struct spi_device' has no member named 'cs_gpio'; did you mean 'cs_gpiod'?
@ 2022-01-24  9:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-24  9:07 UTC (permalink / raw)
  To: Linus Walleij; +Cc: kbuild-all, linux-gpio

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git gpio-descriptors-spi
head:   b91ec14d0a206a5f58d8df605e7b5fe31a62a7ea
commit: b91ec14d0a206a5f58d8df605e7b5fe31a62a7ea [10/10] spi: Retire legacy GPIO handling
config: arc-randconfig-r043-20220124 (https://download.01.org/0day-ci/archive/20220124/202201241743.NUmtEx5k-lkp@intel.com/config)
compiler: arc-elf-gcc (GCC) 11.2.0
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/linusw/linux-gpio.git/commit/?id=b91ec14d0a206a5f58d8df605e7b5fe31a62a7ea
        git remote add linusw-gpio https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git
        git fetch --no-tags linusw-gpio gpio-descriptors-spi
        git checkout b91ec14d0a206a5f58d8df605e7b5fe31a62a7ea
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash drivers/spi/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/spi/spi-st-ssc4.c: In function 'spi_st_cleanup':
>> drivers/spi/spi-st-ssc4.c:176:24: error: 'struct spi_device' has no member named 'cs_gpio'; did you mean 'cs_gpiod'?
     176 |         gpio_free(spi->cs_gpio);
         |                        ^~~~~~~
         |                        cs_gpiod
   drivers/spi/spi-st-ssc4.c: In function 'spi_st_setup':
   drivers/spi/spi-st-ssc4.c:186:23: error: 'struct spi_device' has no member named 'cs_gpio'; did you mean 'cs_gpiod'?
     186 |         int cs = spi->cs_gpio;
         |                       ^~~~~~~
         |                       cs_gpiod


vim +176 drivers/spi/spi-st-ssc4.c

9e862375c5420a Lee Jones 2014-12-09  173  
9e862375c5420a Lee Jones 2014-12-09  174  static void spi_st_cleanup(struct spi_device *spi)
9e862375c5420a Lee Jones 2014-12-09  175  {
42531686639d6a Axel Lin  2016-06-05 @176  	gpio_free(spi->cs_gpio);
9e862375c5420a Lee Jones 2014-12-09  177  }
9e862375c5420a Lee Jones 2014-12-09  178  

:::::: The code at line 176 was first introduced by commit
:::::: 42531686639d6a3fe49518f2baca3f7256708242 spi: st-ssc4: Fix misuse of devm_gpio_request/devm_gpio_free APIs

:::::: TO: Axel Lin <axel.lin@ingics.com>
:::::: CC: Mark Brown <broonie@kernel.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

only message in thread, other threads:[~2022-01-24  9:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-24  9:07 [linusw-gpio:gpio-descriptors-spi 10/10] drivers/spi/spi-st-ssc4.c:176:24: error: 'struct spi_device' has no member named 'cs_gpio'; did you mean 'cs_gpiod'? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).