linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
	"Mark Brown" <broonie@kernel.org>,
	"Geert Uytterhoeven" <geert+renesas@glider.be>
Cc: oe-kbuild-all@lists.linux.dev, linux-spi@vger.kernel.org,
	kernel@pengutronix.de, Michal Simek <monstr@monstr.eu>,
	Max Filippov <jcmvbkbc@gmail.com>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 17/33] spi: bitbang: Follow renaming of SPI "master" to "controller"
Date: Fri, 19 Jan 2024 15:11:19 +0800	[thread overview]
Message-ID: <202401191416.5ex4deYN-lkp@intel.com> (raw)
In-Reply-To: <95602f4f5b17eae6f3381a3153dedd0031b03aba.1705348269.git.u.kleine-koenig@pengutronix.de>

Hi Uwe,

kernel test robot noticed the following build errors:

[auto build test ERROR on 8d04a7e2ee3fd6aabb8096b00c64db0d735bc874]

url:    https://github.com/intel-lab-lkp/linux/commits/Uwe-Kleine-K-nig/fpga-ice40-spi-Follow-renaming-of-SPI-master-to-controller/20240116-082610
base:   8d04a7e2ee3fd6aabb8096b00c64db0d735bc874
patch link:    https://lore.kernel.org/r/95602f4f5b17eae6f3381a3153dedd0031b03aba.1705348269.git.u.kleine-koenig%40pengutronix.de
patch subject: [PATCH 17/33] spi: bitbang: Follow renaming of SPI "master" to "controller"
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20240119/202401191416.5ex4deYN-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240119/202401191416.5ex4deYN-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/202401191416.5ex4deYN-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/spi/spi-sh-sci.c: In function 'sh_sci_spi_probe':
>> drivers/spi/spi-sh-sci.c:139:20: error: 'struct spi_bitbang' has no member named 'master'
     139 |         sp->bitbang.master = host;
         |                    ^
   drivers/spi/spi-sh-sci.c:140:20: error: 'struct spi_bitbang' has no member named 'master'
     140 |         sp->bitbang.master->bus_num = sp->info->bus_num;
         |                    ^
   drivers/spi/spi-sh-sci.c:141:20: error: 'struct spi_bitbang' has no member named 'master'
     141 |         sp->bitbang.master->num_chipselect = sp->info->num_chipselect;
         |                    ^
   drivers/spi/spi-sh-sci.c:169:39: error: 'struct spi_bitbang' has no member named 'master'
     169 |         spi_controller_put(sp->bitbang.master);
         |                                       ^
   drivers/spi/spi-sh-sci.c: In function 'sh_sci_spi_remove':
   drivers/spi/spi-sh-sci.c:181:39: error: 'struct spi_bitbang' has no member named 'master'
     181 |         spi_controller_put(sp->bitbang.master);
         |                                       ^


vim +139 drivers/spi/spi-sh-sci.c

37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  113  
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  114  static int sh_sci_spi_probe(struct platform_device *dev)
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  115  {
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  116  	struct resource	*r;
91a940bb1075337 drivers/spi/spi-sh-sci.c Yang Yingliang 2023-08-18  117  	struct spi_controller *host;
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  118  	struct sh_sci_spi *sp;
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  119  	int ret;
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  120  
91a940bb1075337 drivers/spi/spi-sh-sci.c Yang Yingliang 2023-08-18  121  	host = spi_alloc_host(&dev->dev, sizeof(struct sh_sci_spi));
91a940bb1075337 drivers/spi/spi-sh-sci.c Yang Yingliang 2023-08-18  122  	if (host == NULL) {
91a940bb1075337 drivers/spi/spi-sh-sci.c Yang Yingliang 2023-08-18  123  		dev_err(&dev->dev, "failed to allocate spi host\n");
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  124  		ret = -ENOMEM;
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  125  		goto err0;
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  126  	}
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  127  
91a940bb1075337 drivers/spi/spi-sh-sci.c Yang Yingliang 2023-08-18  128  	sp = spi_controller_get_devdata(host);
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  129  
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  130  	platform_set_drvdata(dev, sp);
8074cf063e410a2 drivers/spi/spi-sh-sci.c Jingoo Han     2013-07-30  131  	sp->info = dev_get_platdata(&dev->dev);
ed8eb250d7b097d drivers/spi/spi-sh-sci.c Axel Lin       2014-03-13  132  	if (!sp->info) {
ed8eb250d7b097d drivers/spi/spi-sh-sci.c Axel Lin       2014-03-13  133  		dev_err(&dev->dev, "platform data is missing\n");
ed8eb250d7b097d drivers/spi/spi-sh-sci.c Axel Lin       2014-03-13  134  		ret = -ENOENT;
ed8eb250d7b097d drivers/spi/spi-sh-sci.c Axel Lin       2014-03-13  135  		goto err1;
ed8eb250d7b097d drivers/spi/spi-sh-sci.c Axel Lin       2014-03-13  136  	}
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  137  
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  138  	/* setup spi bitbang adaptor */
91a940bb1075337 drivers/spi/spi-sh-sci.c Yang Yingliang 2023-08-18 @139  	sp->bitbang.master = host;
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  140  	sp->bitbang.master->bus_num = sp->info->bus_num;
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  141  	sp->bitbang.master->num_chipselect = sp->info->num_chipselect;
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  142  	sp->bitbang.chipselect = sh_sci_spi_chipselect;
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  143  
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  144  	sp->bitbang.txrx_word[SPI_MODE_0] = sh_sci_spi_txrx_mode0;
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  145  	sp->bitbang.txrx_word[SPI_MODE_1] = sh_sci_spi_txrx_mode1;
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  146  	sp->bitbang.txrx_word[SPI_MODE_2] = sh_sci_spi_txrx_mode2;
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  147  	sp->bitbang.txrx_word[SPI_MODE_3] = sh_sci_spi_txrx_mode3;
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  148  
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  149  	r = platform_get_resource(dev, IORESOURCE_MEM, 0);
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  150  	if (r == NULL) {
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  151  		ret = -ENOENT;
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  152  		goto err1;
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  153  	}
76b6fdd35a2d796 drivers/spi/spi_sh_sci.c hartleys       2009-12-14  154  	sp->membase = ioremap(r->start, resource_size(r));
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  155  	if (!sp->membase) {
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  156  		ret = -ENXIO;
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  157  		goto err1;
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  158  	}
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  159  	sp->val = ioread8(SCSPTR(sp));
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  160  	setbits(sp, PIN_INIT, 1);
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  161  
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  162  	ret = spi_bitbang_start(&sp->bitbang);
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  163  	if (!ret)
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  164  		return 0;
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  165  
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  166  	setbits(sp, PIN_INIT, 0);
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  167  	iounmap(sp->membase);
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  168   err1:
91a940bb1075337 drivers/spi/spi-sh-sci.c Yang Yingliang 2023-08-18  169  	spi_controller_put(sp->bitbang.master);
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  170   err0:
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  171  	return ret;
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  172  }
37e466408796300 drivers/spi/spi_sh_sci.c Magnus Damm    2008-02-06  173  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  parent reply	other threads:[~2024-01-19  7:11 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-15 20:12 [PATCH 00/33] spi: get rid of some legacy macros Uwe Kleine-König
2024-01-15 20:12 ` [PATCH 01/33] fpga: ice40-spi: Follow renaming of SPI "master" to "controller" Uwe Kleine-König
2024-01-20 15:29   ` Xu Yilun
2024-01-15 20:12 ` [PATCH 02/33] ieee802154: ca8210: " Uwe Kleine-König
2024-01-16 20:06   ` Simon Horman
2024-01-17 12:19   ` Stefan Schmidt
2024-01-15 20:12 ` [PATCH 03/33] iio: adc: ad_sigma_delta: " Uwe Kleine-König
2024-01-16  7:44   ` Nuno Sá
2024-01-21 16:27     ` Jonathan Cameron
2024-01-15 20:12 ` [PATCH 04/33] Input: pxspad - follow " Uwe Kleine-König
2024-01-16 19:14   ` Dmitry Torokhov
2024-01-15 20:12 ` [PATCH 05/33] Input: synaptics-rmi4 " Uwe Kleine-König
2024-01-16 19:14   ` Dmitry Torokhov
2024-01-15 20:12 ` [PATCH 06/33] media: mgb4: Follow " Uwe Kleine-König
2024-01-16 10:17   ` Martin Tůma
2024-01-15 20:12 ` [PATCH 07/33] media: netup_unidvb: " Uwe Kleine-König
2024-01-15 20:12 ` [PATCH 08/33] media: usb/msi2500: " Uwe Kleine-König
2024-01-15 20:12 ` [PATCH 09/33] media: v4l2-subdev: " Uwe Kleine-König
2024-01-15 20:12 ` [PATCH 10/33] misc: gehc-achc: " Uwe Kleine-König
2024-01-15 20:12 ` [PATCH 11/33] mmc: mmc_spi: " Uwe Kleine-König
2024-01-15 20:12 ` [PATCH 12/33] mtd: dataflash: " Uwe Kleine-König
2024-01-15 20:12 ` [PATCH 13/33] mtd: rawnand: fsl_elbc: Let .probe retry if local bus is missing Uwe Kleine-König
2024-01-15 20:13 ` [PATCH 14/33] net: ks8851: Follow renaming of SPI "master" to "controller" Uwe Kleine-König
2024-01-16 20:05   ` Simon Horman
2024-01-15 20:13 ` [PATCH 15/33] net: vertexcom: mse102x: " Uwe Kleine-König
2024-01-16 20:05   ` Simon Horman
2024-01-15 20:13 ` [PATCH 16/33] platform/chrome: cros_ec_spi: " Uwe Kleine-König
2024-01-18  3:49   ` Tzung-Bi Shih
2024-01-15 20:13 ` [PATCH 17/33] spi: bitbang: " Uwe Kleine-König
2024-01-16  8:33   ` Geert Uytterhoeven
2024-01-16 12:47     ` Uwe Kleine-König
2024-01-19  7:11   ` kernel test robot [this message]
2024-01-15 20:13 ` [PATCH 18/33] spi: cadence-quadspi: Don't emit error message on allocation error Uwe Kleine-König
2024-01-15 20:13 ` [PATCH 19/33] spi: cadence-quadspi: Follow renaming of SPI "master" to "controller" Uwe Kleine-König
2024-01-15 20:13 ` [PATCH 20/33] spi: cavium: " Uwe Kleine-König
2024-01-15 20:13 ` [PATCH 21/33] spi: geni-qcom: " Uwe Kleine-König
2024-01-15 20:13 ` [PATCH 22/33] spi: loopback-test: " Uwe Kleine-König
2024-01-15 20:13 ` [PATCH 23/33] spi: slave-mt27xx: " Uwe Kleine-König
2024-01-16 15:41   ` Mark Brown
2024-01-15 20:13 ` [PATCH 24/33] spi: spidev: " Uwe Kleine-König
2024-01-15 20:13 ` [PATCH 25/33] staging: fbtft: " Uwe Kleine-König
2024-01-15 20:13 ` [PATCH 26/33] staging: greybus: spi: " Uwe Kleine-König
2024-01-16  5:38   ` Viresh Kumar
2024-01-15 20:13 ` [PATCH 27/33] tpm_tis_spi: " Uwe Kleine-König
2024-01-19 21:29   ` Jarkko Sakkinen
2024-01-15 20:13 ` [PATCH 28/33] usb: gadget: max3420_udc: " Uwe Kleine-König
2024-01-16  7:25   ` Herve Codina
2024-01-15 20:13 ` [PATCH 29/33] video: fbdev: mmp: " Uwe Kleine-König
2024-01-15 20:13 ` [PATCH 30/33] wifi: libertas: " Uwe Kleine-König
2024-01-18  9:26   ` Kalle Valo
2024-01-15 20:13 ` [PATCH 31/33] spi: fsl-lib: " Uwe Kleine-König
2024-01-15 20:13 ` [PATCH 32/33] spi: Drop compat layer from renaming " Uwe Kleine-König
2024-01-15 20:13 ` [PATCH 33/33] Documentation: spi: Update documentation for " Uwe Kleine-König
2024-01-16 14:40 ` [PATCH 00/33] spi: get rid of some legacy macros Mark Brown
2024-01-16 15:18   ` Uwe Kleine-König

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=202401191416.5ex4deYN-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=broonie@kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=jcmvbkbc@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=monstr@monstr.eu \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=u.kleine-koenig@pengutronix.de \
    /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).