Re: [PATCH] staging/dgap: move duplicated code from the dgap_cm.* functions

2015-11-26 Thread Alexander Kuleshov
On Thu, Nov 26, 2015 at 12:26 PM, Sudip Mukherjee wrote: > Signed-off-by ? Hello Sudip, I've put it in the v2 (https://lkml.org/lkml/2015/11/25/650) ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/lis

[PATCH v2] staging/dgap: move duplicated code from the dgap_cm.* functions

2015-11-25 Thread Alexander Kuleshov
these functions to prevent code duplication. Signed-off-by: Alexander Kuleshov --- Forgot Signed-off-by line drivers/staging/dgap/dgap.c | 103 1 file changed, 37 insertions(+), 66 deletions(-) diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging

[PATCH] staging/dgap: move duplicated code from the dgap_cm.* functions

2015-11-25 Thread Alexander Kuleshov
The dgap driver contains three functions: dgap_cmdb(), dgap_cmdw() and dgap_cmdw_exit which are contain duplicated code which waits if necessary before updating the pointer to limit outstanding commands. This patch introduces the wait_for_fep_cmds_limit() function which is will be called from these

[PATCH] staging/dgap: Use strpbrk() instead of dgap_sindex()

2015-09-11 Thread Alexander Kuleshov
The provides strpbrk() function that does the same that the dgap_sindex(). Let's use already defined function instead of writing custom. Signed-off-by: Alexander Kuleshov --- drivers/staging/dgap/dgap.c | 24 +--- 1 file changed, 1 insertion(+), 23 deletions(-) diff

[PATCH v2] staging/wilc1000: Use %pM format specifier to print mac address

2015-09-03 Thread Alexander Kuleshov
printk() supports %pM format specifier for printing 6-byte MAC/FDDI addresses in hex notation small buffers, let's use it intead of %x:%x... Signed-off-by: Alexander Kuleshov --- Changelog: v1 -> v2: * In the first version of the patch was instruduced incorrect conversion, now

[PATCH v2] staging/wilc1000: Use %pM format specifier to print mac address

2015-09-03 Thread Alexander Kuleshov
mon_xmit(). Signed-off-by: Alexander Kuleshov --- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/linux_wlan.c | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_int

[PATCH v2] staging/wilc1000: Use %pM format specifier to print mac address

2015-09-03 Thread Alexander Kuleshov
printk() supports %pM format specifier for printing 6-byte MAC/FDDI addresses in hex notation small buffers, let's use it intead of %x:%x... Signed-off-by: Alexander Kuleshov --- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/linux_wlan.c | 3 +-- 2

[PATCH 3/3] staging/wilc1000: Use %pM format specifier to print mac address

2015-08-27 Thread Alexander Kuleshov
printk() supports %pM format specifier for printing 6-byte MAC/FDDI addresses in hex notation small buffers, let's use it intead of %x:%x... Signed-off-by: Alexander Kuleshov --- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/linux_mon.c | 2 +- dr

[PATCH 2/3] staging/rtl8723au: Use %pM format specifier to print mac address

2015-08-27 Thread Alexander Kuleshov
printk() supports %pM format specifier for printing 6-byte MAC/FDDI addresses in hex notation small buffers, let's use it intead of %x:%x... Signed-off-by: Alexander Kuleshov --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-)

[PATCH 1/3] staging/rtl8188eu: Use %pM format specifier to print mac address

2015-08-27 Thread Alexander Kuleshov
printk() supports %pM format specifier for printing 6-byte MAC/FDDI addresses in hex notation small buffers, let's use it intead of %x:%x... Signed-off-by: Alexander Kuleshov --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff

[PATCH 0/3] drivers/staging: Use %pM format specifier to print mac address

2015-08-27 Thread Alexander Kuleshov
printk() supports %pM format specifier for printing 6-byte MAC/FDDI addresses in hex notation small buffers, let's use it intead of %x:%x... This patch set provides fixes for the following drivers: * rtl8188eu * rtl8723au * wilc1000 Alexander Kuleshov (3): staging/rtl8188eu: Us