[linuxtv-media:master 1801/1806] drivers/media/i2c/s5c73m3/s5c73m3-spi.c:40:1: error: type defaults to 'int' in declaration of '_device_table'

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

 



tree:   git://linuxtv.org/media_tree.git master
head:   769b640929046f1207b928d194a855d759ad0a06
commit: f934a94bb566a629b7e0be52d087a686145d1f14 [1801/1806] [media] s5c73m3: Export OF module alias information
config: tile-allmodconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout f934a94bb566a629b7e0be52d087a686145d1f14
        # save the attached .config to linux build tree
        make.cross ARCH=tile 

All error/warnings (new ones prefixed by >>):

   drivers/media/i2c/s5c73m3/s5c73m3-spi.c:40:1: error: expected ')' before ';' token
   drivers/media/i2c/s5c73m3/s5c73m3-spi.c:40:1: error: pasting ";" and "_device_table" does not give a valid preprocessing token
>> drivers/media/i2c/s5c73m3/s5c73m3-spi.c:40:1: warning: data definition has no type or storage class [enabled by default]
>> drivers/media/i2c/s5c73m3/s5c73m3-spi.c:40:1: error: type defaults to 'int' in declaration of '_device_table'
>> drivers/media/i2c/s5c73m3/s5c73m3-spi.c:40:1: error: '_device_table' defined both normally and as 'alias' attribute
   cc1: some warnings being treated as errors

vim +40 drivers/media/i2c/s5c73m3/s5c73m3-spi.c

    34	MODULE_DEVICE_TABLE(of, s5c73m3_spi_ids);
    35	
    36	enum spi_direction {
    37		SPI_DIR_RX,
    38		SPI_DIR_TX
    39	};
  > 40	MODULE_DEVICE_TABLE(of, s5c73m3_spi_ids;);
    41	
    42	static int spi_xmit(struct spi_device *spi_dev, void *addr, const int len,
    43								enum spi_direction dir)

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux