[spi:topic/bcm63xx 10/10] drivers/spi/spi-bcm63xx.c:433:50: error: 'spi' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git topic/bcm63xx
head:   0135c03df914f0481c61f097c78d37cece84f330
commit: 0135c03df914f0481c61f097c78d37cece84f330 [10/10] spi/bcm63xx: make spi subsystem aware of message size limits
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 0135c03df914f0481c61f097c78d37cece84f330
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/spi/spi-bcm63xx.c: In function 'bcm63xx_spi_max_length':
>> drivers/spi/spi-bcm63xx.c:433:50: error: 'spi' undeclared (first use in this function)
     struct bcm63xx_spi *bs = spi_master_get_devdata(spi->master);
                                                     ^~~
   drivers/spi/spi-bcm63xx.c:433:50: note: each undeclared identifier is reported only once for each function it appears in

vim +/spi +433 drivers/spi/spi-bcm63xx.c

   427	
   428		return IRQ_HANDLED;
   429	}
   430	
   431	static size_t bcm63xx_spi_max_length(struct spi_device *dev)
   432	{
 > 433		struct bcm63xx_spi *bs = spi_master_get_devdata(spi->master);
   434	
   435		return bs->fifo_size;
   436	}

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux