tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 
staging-testing
head:   f0c94bc642d5ff9fbfd18edcf71b9db165e365d3
commit: 30135ce26df214c03c3a9bfe25bcd8f56020bc50 [2491/2494] staging: wilc1000: 
wilc_wlan_init: add argument struct net_device
config: i386-allyesconfig (attached as .config)
reproduce:
        git checkout 30135ce26df214c03c3a9bfe25bcd8f56020bc50
        # 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/coreconfigurator.h:14:0,
                    from drivers/staging/wilc1000/coreconfigurator.c:11:
>> drivers/staging/wilc1000/wilc_wlan_if.h:940:27: warning: 'struct net_device' 
>> declared inside parameter list
    int wilc_wlan_init(struct net_device *dev, wilc_wlan_inp_t *inp);
                              ^
>> drivers/staging/wilc1000/wilc_wlan_if.h:940:27: warning: its scope is only 
>> this definition or declaration, which is probably not what you want
   In file included from drivers/staging/wilc1000/coreconfigurator.c:13:0:
   drivers/staging/wilc1000/wilc_wlan.h:302:10: warning: 'struct net_device' 
declared inside parameter list
             u32 buffer_size, wilc_tx_complete_func_t func);
             ^
   drivers/staging/wilc1000/wilc_wlan.h:303:33: warning: 'struct net_device' 
declared inside parameter list
    int wilc_wlan_handle_txq(struct net_device *dev, u32 *pu32TxqCount);
                                    ^
   drivers/staging/wilc1000/wilc_wlan.h:305:31: warning: 'struct net_device' 
declared inside parameter list
    void wilc_wlan_cleanup(struct net_device *dev);
                                  ^
   drivers/staging/wilc1000/wilc_wlan.h:311:11: warning: 'struct net_device' 
declared inside parameter list
              u32 buffer_size, wilc_tx_complete_func_t func);
              ^
--
   In file included from drivers/staging/wilc1000/coreconfigurator.h:14:0,
                    from drivers/staging/wilc1000/host_interface.h:4,
                    from drivers/staging/wilc1000/host_interface.c:5:
>> drivers/staging/wilc1000/wilc_wlan_if.h:940:27: warning: 'struct net_device' 
>> declared inside parameter list
    int wilc_wlan_init(struct net_device *dev, wilc_wlan_inp_t *inp);
                              ^
>> drivers/staging/wilc1000/wilc_wlan_if.h:940:27: warning: its scope is only 
>> this definition or declaration, which is probably not what you want
   In file included from drivers/staging/wilc1000/host_interface.c:5:0:
   drivers/staging/wilc1000/host_interface.h:372: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.c:4080: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:372:5: note: previous declaration 
of 'host_int_init' was here
    s32 host_int_init(struct net_device *dev, struct host_if_drv **phWFIDrv);
        ^
--
   In file included from drivers/staging/wilc1000/wilc_debugfs.c:18:0:
>> drivers/staging/wilc1000/wilc_wlan_if.h:940:27: warning: 'struct net_device' 
>> declared inside parameter list
    int wilc_wlan_init(struct net_device *dev, wilc_wlan_inp_t *inp);
                              ^
>> drivers/staging/wilc1000/wilc_wlan_if.h:940:27: warning: its scope is only 
>> this definition or declaration, which is probably not what you want
--
   In file included from drivers/staging/wilc1000/wilc_wlan.c:10:0:
>> drivers/staging/wilc1000/wilc_wlan_if.h:940:27: warning: 'struct net_device' 
>> declared inside parameter list
    int wilc_wlan_init(struct net_device *dev, wilc_wlan_inp_t *inp);
                              ^
>> drivers/staging/wilc1000/wilc_wlan_if.h:940:27: warning: its scope is only 
>> this definition or declaration, which is probably not what you want
>> drivers/staging/wilc1000/wilc_wlan.c:1954:5: error: conflicting types for 
>> 'wilc_wlan_init'
    int wilc_wlan_init(struct net_device *dev, wilc_wlan_inp_t *inp)
        ^
   In file included from drivers/staging/wilc1000/wilc_wlan.c:10:0:
   drivers/staging/wilc1000/wilc_wlan_if.h:940:5: note: previous declaration of 
'wilc_wlan_init' was here
    int wilc_wlan_init(struct net_device *dev, wilc_wlan_inp_t *inp);
        ^

vim +/wilc_wlan_init +1954 drivers/staging/wilc1000/wilc_wlan.c

  1948                  chipid = tempchipid;
  1949          }
  1950  _fail_:
  1951          return chipid;
  1952  }
  1953  
> 1954  int wilc_wlan_init(struct net_device *dev, wilc_wlan_inp_t *inp)
  1955  {
  1956  
  1957          int ret = 0;

---
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
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to