[spi:for-next 109/111] include/linux/spi/spi-mem.h:322: multiple definition of `spi_mem_default_supports_op'

[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 for-next
head:   cd11cc8c3ebd907a94c802b579e4566aa74f0f20
commit: 0e530e4eba5e9003af83c6afda833c64c7fcae08 [109/111] spi: spi-mem: Fix build error without CONFIG_SPI_MEM
config: x86_64-randconfig-b0-04102059 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 0e530e4eba5e9003af83c6afda833c64c7fcae08
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/spi/spi-mxic.o: In function `spi_mem_default_supports_op':
>> include/linux/spi/spi-mem.h:322: multiple definition of `spi_mem_default_supports_op'
   drivers/spi/spi.o:include/linux/spi/spi-mem.h:322: first defined here

vim +322 include/linux/spi/spi-mem.h

   317	
   318	bool spi_mem_default_supports_op(struct spi_mem *mem,
   319					 const struct spi_mem_op *op)
   320	{
   321		return false;
 > 322	}
   323	

---
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