From: kernel test robot <lkp@intel.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: kbuild-all@lists.01.org, linux-gpio@vger.kernel.org
Subject: [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'?
Date: Mon, 24 Jan 2022 17:07:09 +0800 [thread overview]
Message-ID: <202201241743.NUmtEx5k-lkp@intel.com> (raw)
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
reply other threads:[~2022-01-24 9:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202201241743.NUmtEx5k-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).