[PATCH] staging: wilc1000: fix variable signedness

2017-07-09 Thread Ilia Sergachev
txq_count receives a value from wilc_wlan_handle_txq() and therefore should be u32 found using sparse: drivers/staging/wilc1000/linux_wlan.c:306:58: warning: incorrect type in argument 2 (different signedness) Signed-off-by: Ilia Sergachev --- drivers/staging/wilc1000/linux_wlan.c | 3 ++- 1

[PATCH v2] staging: ks7010: remove line continuations in quoted strings

2017-04-28 Thread Ilia Sergachev
Checkpatch emits WARNING: Avoid line continuations in quoted strings. Remove line continuations - split strings using quotes. Signed-off-by: Ilia Sergachev --- Changes for v4: - improve indentation for better readability drivers/staging/ks7010/ks_hostif.c | 30

[PATCH] staging: ks7010: remove line continuations in quoted strings

2017-04-28 Thread Ilia Sergachev
Checkpatch emits WARNING: Avoid line continuations in quoted strings. Remove line continuations - split strings using quotes. Signed-off-by: Ilia Sergachev --- drivers/staging/ks7010/ks_hostif.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/drivers

Re: [PATCH v4] staging: ks7010: fix block comment style

2017-04-28 Thread Ilia Sergachev
On Fri, 28 Apr 2017 14:20:21 +0200 Greg Kroah-Hartman wrote: > > Nope, the whole thing still doesn't apply: > > checking file drivers/staging/ks7010/ks_wlan_net.c > Hunk #1 FAILED at 230. > Hunk #2 FAILED at 343. > Hunk #3 FAILED at 1137. > Hunk #4 FAILED at 1189. > Hunk #5 FAILED at 1225. > Hu

[PATCH v4] staging: ks7010: fix block comment style

2017-04-28 Thread Ilia Sergachev
Checkpatch was showing: WARNING: Block comments use a trailing */ on a separate line. Move trailing */ to a separate line. Signed-off-by: Ilia Sergachev --- Changes for v4: - remove one trailing whitespace in the last hunk, which was corrupting the patch Changes for v3: - improve the

[PATCH v3] staging: ks7010: fix block comment style

2017-04-26 Thread Ilia Sergachev
Checkpatch was showing: WARNING: Block comments use a trailing */ on a separate line. Move trailing */ to a separate line. Signed-off-by: Ilia Sergachev --- Changes for v3: - improve the commit message even more Changes for v2: - improve the commit message drivers/staging/ks7010

[PATCH v2] Staging: ks7010: style fix

2017-04-26 Thread Ilia Sergachev
Fix the style of block comments. Move trailing */ to a separate line. Checkpatch was showing: WARNING: Block comments use a trailing */ on a separate line. Signed-off-by: Ilia Sergachev --- Changes for v2: - improve the commit message drivers/staging/ks7010/ks_wlan_net.c | 43

[PATCH v2] Staging: ks7010: style fix

2017-04-26 Thread Ilia Sergachev
Fix the style of block comments. Move trailing */ to a separate line. Checkpatch was showing: WARNING: Block comments use a trailing */ on a separate line. Signed-off-by: Ilia Sergachev --- drivers/staging/ks7010/ks_wlan_net.c | 43 ++-- 1 file changed, 27

[PATCH] staging: ks7010: fix block comment style in ks_wlan_net.c

2017-04-25 Thread Ilia Sergachev
This is a patch to the ks_wlan_net.c file that fixes up the following warning found by the checkpatch.pl tool: WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Ilia Sergachev --- drivers/staging/ks7010/ks_wlan_net.c | 43 ++-- 1 file

[PATCH] staging: ks7010: fix few checkpatch warnings in ks_wlan_net.c

2017-04-25 Thread Ilia Sergachev
Fixes few warnings and checks in drivers/staging/ks7010/ks_wlan_net.c Signed-off-by: Ilia Sergachev Cc: de...@driverdev.osuosl.org,linux-ker...@vger.kernel.org --- drivers/staging/ks7010/ks_wlan_net.c | 81 ++-- 1 file changed, 49 insertions(+), 32 deletions