[PATCH RESEND 12/38] staging: wilc1000: rename pstrWFIDrv of function linux_wlan_init_test_config

2015-11-04 Thread Glen Lee
From: Leo Kim This patch renames pstrWFIDrv of function linux_wlan_init_test_config to hif_drv to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH RESEND 16/38] staging: wilc1000: fixes blank lines aren't necessary brace

2015-11-04 Thread Glen Lee
From: 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: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 21 ---

[PATCH RESEND 15/38] staging: wilc1000: rename pIP_Add_buff of function dev_state_ev_handler

2015-11-04 Thread Glen Lee
From: 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: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-

[PATCH RESEND 20/38] staging: wilc1000: remove warnings line over 80 characters

2015-11-04 Thread Glen Lee
From: Leo Kim This patch removes the warnings reported by checkpatch.pl for line over 80 characters. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 40 +++ 1 file changed, 27 insertions(+), 13 deletions(-) diff --git

[PATCH RESEND 11/38] staging: wilc1000: rename pstrWFIDrv of function dev_state_ev_handler

2015-11-04 Thread Glen Lee
From: Leo Kim This patch renames pstrWFIDrv of function dev_state_ev_handler to hif_drv to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-)

[PATCH RESEND 17/38] staging: wilc1000: linux_wlan.c: clean up comments

2015-11-04 Thread Glen Lee
From: 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

[PATCH RESEND 14/38] staging: wilc1000: rename pstrWFIDrv of function mac_close

2015-11-04 Thread Glen Lee
From: 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: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 8

[PATCH RESEND 13/38] staging: wilc1000: rename pstrWFIDrv of function wilc_set_multicast_list

2015-11-04 Thread Glen Lee
From: Leo Kim This patch renames pstrWFIDrv of function wilc_set_multicast_list to hif_drv to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --gi

[PATCH RESEND 19/38] staging: wilc1000: remove extern function in c file and move it to header file.

2015-11-04 Thread Glen Lee
From: 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: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.h | 2 +- drivers/staging/wilc1000/linu

driverdev-devel@linuxdriverproject.org

2015-11-04 Thread Glen Lee
From: 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: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 5 ++--- 1 file changed, 2 insertions(+), 3 dele

[PATCH RESEND 22/38] staging: wilc1000: remove do-nothing if condition case.

2015-11-04 Thread Glen Lee
From: Leo Kim This patch removes do-nothing if condition case. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index ae

[PATCH RESEND 18/38] staging: wilc1000: linux_wlan: remove unused defines

2015-11-04 Thread Glen Lee
From: 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: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 10 ++ 1 file changed, 2 insert

[PATCH RESEND 23/38] staging: wilc1000: rename function GetIfHandler

2015-11-04 Thread Glen Lee
From: Leo Kim This patch renames GetIfHandler function name to get_if_handler to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/

[PATCH RESEND 26/38] staging: wilc1000: rename Bssid1 of function get_if_handler

2015-11-04 Thread Glen Lee
From: Leo Kim This patch renames Bssid1 of function get_if_handler to bssid1 to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/st

[PATCH RESEND 25/38] staging: wilc1000: rename Bssid of function get_if_handler

2015-11-04 Thread Glen Lee
From: Leo Kim This patch renames Bssid of function get_if_handler to bssid to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/stag

[PATCH RESEND 32/38] staging: wilc1000: remove goto from wlan_initialize_threads

2015-11-04 Thread Glen Lee
From: 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. Si

[PATCH RESEND 28/38] staging: wilc1000: fixes braces {} should be used on all arms of this statement

2015-11-04 Thread Glen Lee
From: 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: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/d

[PATCH RESEND 30/38] staging: wilc1000: remove goto from linux_wlan_firmware_download

2015-11-04 Thread Glen Lee
From: 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: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 8 ++

[PATCH RESEND 31/38] staging: wilc1000: fixes missing a blank line after declarations

2015-11-04 Thread Glen Lee
From: Leo Kim This patch fixes the warnings reported by checkpatch.pl for Missing a blank line after declarations. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/wilc1000/linux_wlan

[PATCH RESEND 27/38] staging: wilc1000: rename pBSSID of function linux_wlan_set_bssid

2015-11-04 Thread Glen Lee
From: 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: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc100

[PATCH RESEND 36/38] staging: wilc1000: rename s32Error of mac_ioctl function

2015-11-04 Thread Glen Lee
From: Leo Kim This patch rename s32Error variable of mac_ioctl function to ret to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drive

[PATCH RESEND 35/38] staging: wilc1000: rename host_int_get_MacAddress function

2015-11-04 Thread Glen Lee
From: Leo Kim This patch rename host_int_get_MacAddress function to hif_get_mac_address to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/host_interface.h | 2 +- drivers/staging/

[PATCH RESEND 33/38] staging: wilc1000: remove goto from mac_open

2015-11-04 Thread Glen Lee
From: 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: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wi

[PATCH RESEND 24/38] staging: wilc1000: rename pMacHeader of function get_if_handler

2015-11-04 Thread Glen Lee
From: Leo Kim This patch renames pMacHeader of function get_if_handler to mac_header to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/

[PATCH RESEND 38/38] staging: wilc1000: rename pu8UdpBuffer of mac_xmit function

2015-11-04 Thread Glen Lee
From: Leo Kim This patch rename pu8UdpBuffer variable of mac_xmit function to udp_buf to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/

[PATCH RESEND 29/38] staging: wilc1000: remove goto from linux_wlan_start_firmware

2015-11-04 Thread Glen Lee
From: 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: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 7 +++--

[PATCH RESEND 34/38] staging: wilc1000: rename Set_machw_change_vir_if function

2015-11-04 Thread Glen Lee
From: 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: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6

[PATCH RESEND 37/38] staging: wilc1000: rename QueueCount of mac_xmit function

2015-11-04 Thread Glen Lee
From: Leo Kim This patch rename QueueCount variable of mac_xmit function to queue_count to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a

[PATCH] staging: wilc1000: fix kbuild test robot error

2015-11-04 Thread 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); >> dri

Re: [PATCH RESEND 01/38] staging: wilc1000: rename pu8IPAddr of fuction Handle_set_IPAddress

2015-11-04 Thread Dan Carpenter
Why are you resending these? regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH] staging/rdma/hfi1: set Gen3 half-swing for integrated devices

2015-11-04 Thread Dan Carpenter
On Wed, Nov 04, 2015 at 09:06:08PM -0500, ira.we...@intel.com wrote: > +#define CCE_PCIE_CTRL_XMT_MARGIN_GEN1_GEN2_OVERWRITE_ENABLE_MASK 0x1ull There is absolutely no point to having a variable name which is nine bajillion characters long since we are not able to use it and have to instead use ma

RE: [PATCH RESEND 01/38] staging: wilc1000: rename pu8IPAddr of fuction Handle_set_IPAddress

2015-11-04 Thread Kim, Leo
Dear Dan, Because Greg say, - 'This series doesn't apply probably because I didn't take your previous series. Please resend after you refresh and resend that one." So resend :)  Thanks, BR  Leo -Original Message- From: Dan Carpenter [mailto:dan.carpen...@oracle.com] Sent: Thursd

Re: [PATCH 3/3] staging/rdma/hfi1: Method to toggle "fast ECN" detection

2015-11-04 Thread Dan Carpenter
On Wed, Nov 04, 2015 at 09:10:11PM -0500, ira.we...@intel.com wrote: > From: Vennila Megavannan > > Add a module paramter to toggle prescan/Fast ECN Detection. > > In addition change the PRESCAN_RXQ Kconfig default to "yes". > > Reviewed-by: Arthur Kepner > Reviewed-by: Mike Marciniszyn > Signe

Re: [PATCH] staging/rdma/hfi1: Convert dd_dev_info() to hfi1_cdbg() in process startup

2015-11-04 Thread Dan Carpenter
On Wed, Nov 04, 2015 at 11:14:57PM -0500, jubin.j...@intel.com wrote: > From: Sebastian Sanchez > > Replacing dd_dev_info() for hfi1_cdbg() to avoid generating syslog > output for every context that is open by PSM. > Just delete it... People get scared about deleting debug code but you can add

<    1   2