[mkl-can-next:testing 1/12] arch/arm/mach-pxa/zeus.c:439:17: error: initialization from incompatible pointer type

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git testing
head:   f6008d6897270b492ec1b0a21814f9a99a113b17
commit: e524eb22f1097277de6f8d993c08a59e9c751d53 [1/12] can: mcp251x: Get rid of legacy platform data
config: arm-zeus_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout e524eb22f1097277de6f8d993c08a59e9c751d53
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> arch/arm/mach-pxa/zeus.c:439:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
      .properties = &mcp251x_properties,
                    ^
   arch/arm/mach-pxa/zeus.c:439:17: note: (near initialization for 'zeus_spi_board_info[0].properties')
   cc1: some warnings being treated as errors

vim +439 arch/arm/mach-pxa/zeus.c

   435	
   436	static struct spi_board_info zeus_spi_board_info[] = {
   437		[0] = {
   438			.modalias	= "mcp2515",
 > 439			.properties	= &mcp251x_properties,
   440			.irq		= PXA_GPIO_TO_IRQ(ZEUS_CAN_GPIO),
   441			.max_speed_hz	= 1*1000*1000,
   442			.bus_num	= 3,
   443			.mode		= SPI_MODE_0,
   444			.chip_select	= 0,
   445		},
   446	};
   447	

---
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]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux