- 16 11月, 2015 40 次提交
-
-
由 Leo Kim 提交于
This patch fixes the checks reported by checkpatch.pl for Blank lines aren't necessary after an open brace '{' and Blank lines aren't necessary before a close brace '}'. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch fixes the checks reported by checkpatch.pl for Please don't use multiple blank lines. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
There are over-commenting in the wilc_wlan.c file and most of them are not helpful to explain what the code does and generate 80 ending line over warnings. So, all of comments are removed in this patch and the comments will later be added if necessary with the preferred Linux style. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch fixes the error reported by checkpatch.pl for that open brace { should be on the previous line. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch fixes the checks reported by checkpatch.pl for prefer kmalloc(sizeof(*tx_data)...) over kmalloc(sizeof(struct tx_complete_data)...) Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch fixes the checks reported by checkpatch.pl for alignment should match open parenthesis Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Glen Lee 提交于
This patch fixes build warning and error reported by kbuild test robot. It is fixed by including netdevice.h. >> 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) Fixes: 30135ce ("staging: wilc1000: wilc_wlan_init: add argument struct net_device") Reported-by: Nkbuild test robot <fengguang.wu@intel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch rename pu8UdpBuffer variable of mac_xmit function to udp_buf to avoid CamelCase naming convention. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch rename QueueCount variable of mac_xmit function to queue_count to avoid CamelCase naming convention. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch rename s32Error variable of mac_ioctl function to ret to avoid CamelCase naming convention. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch rename host_int_get_MacAddress function to hif_get_mac_address to avoid CamelCase naming convention. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch rename Set_machw_change_vir_if function to set_machw_change_vir_if to avoid CamelCase naming convention. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch removes goto from mac_open function. If address is invalid, goto handles deinit process and return result. So, just call deinit process and return the error value directly instead of goto statement. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch remove goto feature from wlan_initialize_threads function. Goto feature is 'wilc->close=0' & return result. So, remove goto feature and it was replaced with the return value directly, as well as removed unused ret variable. Also, execute 'wilc->close=0' before return. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch fixes the warnings reported by checkpatch.pl for Missing a blank line after declarations. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch remove goto feature from linux_wlan_firmware_download function. Goto feature is return result. So, remove goto functions and it was replaced with the return value directly. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch remove goto feature from linux_wlan_start_firmware function. Goto feature is return result. So, remove goto functions and it was replaced with the return value directly. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch fixes the checks reported by checkpatch.pl for braces {} should be used on all arms of this statement. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch renames pBSSID of function linux_wlan_set_bssid to bssid to avoid CamelCase naming convention. Also, prototype linux_wlan_set_bssid in wilc_wfi_cfgoperations.c is moved to wilc_wfi_netdevice.h. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch renames Bssid1 of function get_if_handler to bssid1 to avoid CamelCase naming convention. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch renames Bssid of function get_if_handler to bssid to avoid CamelCase naming convention. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch renames pMacHeader of function get_if_handler to mac_header to avoid CamelCase naming convention. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch renames GetIfHandler function name to get_if_handler to avoid CamelCase naming convention. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch removes do-nothing if condition case. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch fixes add to spaces around that '&&' or '||'. Reported by checkpatch.pl for spaces required around that '&&' or '||' (ctx:VxE). Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch removes the warnings reported by checkpatch.pl for line over 80 characters. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch removes extern resolve_disconnect_aberration in c file and move it to proper header file. Rename argument also to match with declaration. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch removes unused defines from linux_wlan.c file. - NM73131 - PLAT_CLM9722 Two defines are support custom feature that don't used anymore. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
There are over-commenting in the linux_wlan.c file and most of them are not helpful to explain what the code does and generate 80 ending line over warnings. So, all of comments and commented codes are removed in this patch. Comment will be added if necessary with the preferred Linux style. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch fixes the checks reported by checkpatch.pl for Blank lines aren't necessary after an open brace '{' and Blank lines aren't necessary before a close brace '}'. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch renames pIP_Add_buff of function dev_state_ev_handler to ip_addr_buf to avoid CamelCase naming convention. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch renames pstrWFIDrv of function mac_close to hif_drv to avoid CamelCase naming convention. And, some debug print modification that has been included name 'pstrWFIDrv'. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch renames pstrWFIDrv of function wilc_set_multicast_list to hif_drv to avoid CamelCase naming convention. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch renames pstrWFIDrv of function linux_wlan_init_test_config to hif_drv to avoid CamelCase naming convention. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch renames pstrWFIDrv of function dev_state_ev_handler to hif_drv to avoid CamelCase naming convention. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch remove unused define CUSTOMER_PLATFORM from linux_wlan.c. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch replace explicit NULL comparison with ! or unmark operator to simplify code. Reported by checkpatch.pl for comparison to NULL could be written "!XXX" or "XXX". Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch renames gau8MulticastMacAddrList variable to multicast_mac_addr_list to avoid CamelCase naming convention. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch changes return type of Handle_wait_msg_q_empty from s32 with void because return value is not used. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Leo Kim 提交于
This patch renames strHostIFCfgParamAttr of fuction Handle_CfgParam to cfg_param_attr to avoid CamelCase naming convention. Signed-off-by: NLeo Kim <leo.kim@atmel.com> Signed-off-by: NGlen Lee <glen.lee@atmel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-