Re: [PATCH V2 13/27] staging: wilc1000: host_int_init: add argument net_device

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

 



Hi Glen,

[auto build test ERROR on staging/staging-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Glen-Lee/staging-wicl1000-isr_uh_routine-use-netdev-private-wilc/20151027-173115
config: i386-allyesconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

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

   In file included from drivers/staging/wilc1000/host_interface.c:5:0:
>> drivers/staging/wilc1000/host_interface.h:914:50: warning: 'struct net_device' declared inside parameter list
    s32 host_int_init(struct net_device *dev, struct host_if_drv **phWFIDrv);
                                                     ^
>> drivers/staging/wilc1000/host_interface.h:914:50: warning: its scope is only this definition or declaration, which is probably not what you want
>> drivers/staging/wilc1000/host_interface.c:4135:5: error: conflicting types for 'host_int_init'
    s32 host_int_init(struct net_device *dev, struct host_if_drv **hif_drv_handler)
        ^
   In file included from drivers/staging/wilc1000/host_interface.c:5:0:
   drivers/staging/wilc1000/host_interface.h:914:5: note: previous declaration of 'host_int_init' was here
    s32 host_int_init(struct net_device *dev, struct host_if_drv **phWFIDrv);
        ^

vim +/host_int_init +4135 drivers/staging/wilc1000/host_interface.c

  4129	
  4130	void host_int_send_network_info_to_host
  4131		(u8 *macStartAddress, u16 u16RxFrameLen, s8 s8Rssi)
  4132	{
  4133	}
  4134	
> 4135	s32 host_int_init(struct net_device *dev, struct host_if_drv **hif_drv_handler)
  4136	{
  4137		s32 result = 0;
  4138		struct host_if_drv *hif_drv;

---
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