All of lore.kernel.org
 help / color / mirror / Atom feed
* [linuxtv-media:master 1801/1806] drivers/media/i2c/s5c73m3/s5c73m3-spi.c:40:1: error: type defaults to 'int' in declaration of '_device_table'
@ 2015-11-18 17:02 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2015-11-18 17:02 UTC (permalink / raw)
  To: Javier Martinez Canillas
  Cc: kbuild-all, Mauro Carvalho Chehab, linux-media, Andrzej Hajda

[-- Attachment #1: Type: text/plain, Size: 1758 bytes --]

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 #2: .config.gz --]
[-- Type: application/octet-stream, Size: 42156 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-18 17:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-18 17:02 [linuxtv-media:master 1801/1806] drivers/media/i2c/s5c73m3/s5c73m3-spi.c:40:1: error: type defaults to 'int' in declaration of '_device_table' kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.