[staging:staging-linus 3/4] drivers/staging/speakup/serialio.c:21:2: error: unknown field 'iomem_base' specified in initializer

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-linus
head:   88867e3d0b7eea256c1cd432b0a3c7a21e8edf07
commit: 327b882d3bcc1fba82dbd39b5cf5a838c81218e2 [3/4] Staging: speakup: Fix getting port information
config: mn10300-allyesconfig (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 327b882d3bcc1fba82dbd39b5cf5a838c81218e2
        # save the attached .config to linux build tree
        make.cross ARCH=mn10300 

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

>> drivers/staging/speakup/serialio.c:21:2: error: unknown field 'iomem_base' specified in initializer
     SERIAL_PORT_DFNS
     ^
>> drivers/staging/speakup/serialio.c:21:2: warning: excess elements in struct initializer
   drivers/staging/speakup/serialio.c:21:2: warning: (near initialization for 'rs_table[0]')
>> drivers/staging/speakup/serialio.c:21:2: error: unknown field 'iomem_reg_shift' specified in initializer
>> drivers/staging/speakup/serialio.c:21:2: warning: excess elements in struct initializer
   drivers/staging/speakup/serialio.c:21:2: warning: (near initialization for 'rs_table[0]')
>> drivers/staging/speakup/serialio.c:21:2: error: unknown field 'io_type' specified in initializer
>> drivers/staging/speakup/serialio.c:21:2: warning: excess elements in struct initializer
   drivers/staging/speakup/serialio.c:21:2: warning: (near initialization for 'rs_table[0]')
>> drivers/staging/speakup/serialio.c:21:2: error: unknown field 'iomem_base' specified in initializer
>> drivers/staging/speakup/serialio.c:21:2: warning: excess elements in struct initializer
   drivers/staging/speakup/serialio.c:21:2: warning: (near initialization for 'rs_table[1]')
>> drivers/staging/speakup/serialio.c:21:2: error: unknown field 'iomem_reg_shift' specified in initializer
>> drivers/staging/speakup/serialio.c:21:2: warning: excess elements in struct initializer
   drivers/staging/speakup/serialio.c:21:2: warning: (near initialization for 'rs_table[1]')
>> drivers/staging/speakup/serialio.c:21:2: error: unknown field 'io_type' specified in initializer
>> drivers/staging/speakup/serialio.c:21:2: warning: excess elements in struct initializer
   drivers/staging/speakup/serialio.c:21:2: warning: (near initialization for 'rs_table[1]')

vim +/iomem_base +21 drivers/staging/speakup/serialio.c

5e6dc548 Chen Gang     2013-10-31  15  #define SERIAL_PORT_DFNS
5e6dc548 Chen Gang     2013-10-31  16  #endif
5e6dc548 Chen Gang     2013-10-31  17  
c6e3fd22 William Hubbs 2010-10-07  18  static void start_serial_interrupt(int irq);
c6e3fd22 William Hubbs 2010-10-07  19  
3ee0017e Jiri Slaby    2012-03-05  20  static const struct old_serial_port rs_table[] = {
c6e3fd22 William Hubbs 2010-10-07 @21  	SERIAL_PORT_DFNS
c6e3fd22 William Hubbs 2010-10-07  22  };
3ee0017e Jiri Slaby    2012-03-05  23  static const struct old_serial_port *serstate;
c6e3fd22 William Hubbs 2010-10-07  24  static int timeouts;

:::::: The code at line 21 was first introduced by commit
:::::: c6e3fd22cd538365bfeb82997d5b89562e077d42 Staging: add speakup to the staging directory

:::::: TO: William Hubbs <w.d.hubbs@xxxxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxx>

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

Attachment: .config.gz
Description: Binary data

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux