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

kbuild test robot fengguang.wu at intel.com
Sun Jan 31 16:46:03 UTC 2016


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 at gmail.com>
:::::: CC: Greg Kroah-Hartman <gregkh at suse.de>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 37025 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20160201/4f9bc51a/attachment-0001.obj>


More information about the devel mailing list