[PATCHv2 0/7] vt6655: Cleanup of checkpatch errors

2014-01-07 Thread Michael Gunselmann
This patch series cleans up some checkpatch errors and warnings in some files of the vt6655 driver in staging. The reference git tree is linux-next. Not all files of the driver were cleaned up in this patch series. The patches should not incorporate functional changes. -- 1.8.1.2 -- To unsubs

[PATCHv2 1/7] vt6655: balance faulty parentheses in 80211hdr.h

2014-01-07 Thread Michael Gunselmann
From: Martin Hofmann The file 80211hdr.h contained the macro WLAN_GET_FC_PRVER(n). The big endian fashion of this macro had unbalanced parentheses. This patch removes the parentheses in question. Signed-off-by: Martin Hofmann Signed-off-by: Michael Gunselmann --- drivers/staging/vt6655

[PATCHv2 2/7] vt6655: remove casts in wroute.c

2014-01-07 Thread Michael Gunselmann
From: Martin Hofmann The file wroute.c contained some silly casts. This patch removes them. Signed-off-by: Martin Hofmann Signed-off-by: Michael Gunselmann --- drivers/staging/vt6655/wroute.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vt6655

[PATCHv2 4/7] vt6655: fix indentation in wroute.c

2014-01-07 Thread Michael Gunselmann
From: Martin Hofmann This patch fixes indentation style belonging to function calls as well as some run-away closing parentheses when calling functions. Signed-off-by: Martin Hofmann Signed-off-by: Michael Gunselmann --- drivers/staging/vt6655/wroute.c | 30 +- 1

[PATCHv2 5/7] vt6655: remove typedefs in wpactl.h

2014-01-07 Thread Michael Gunselmann
From: Martin Hofmann wpactl.h contained some typedefs for enums. These were removed in this patch. Also, a typedef for a type "unsigned long long" that was only instantiated in one place was removed and its declaration altered. Signed-off-by: Martin Hofmann Signed-off-by: Michael

[PATCHv2 3/7] vt6655: remove unnecessary braces in wroute.c

2014-01-07 Thread Michael Gunselmann
From: Martin Hofmann This patch removes some unnecessary braces concerning if-statements in the file wroute.c Signed-off-by: Martin Hofmann Signed-off-by: Michael Gunselmann --- drivers/staging/vt6655/wroute.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a

[PATCHv2 6/7] vt6655: fix printk usage in wpactl.c

2014-01-07 Thread Michael Gunselmann
From: Martin Hofmann This patch fixes the usage of printk in wpactl.c concering one missing log level occurence and some whitespaces before a newline. Signed-off-by: Martin Hofmann Signed-off-by: Michael Gunselmann --- drivers/staging/vt6655/wpactl.c | 24 1 file

[PATCHv2 7/7] vt6655: Remove typedefs in 80211hdr.h

2014-01-07 Thread Michael Gunselmann
From: Martin Hofmann The file 80211hdr.h contained typedefs for 5 types. To satisfy checkpatch, this commit removes them. In 11 other files, every occurence of a now deleted type has been substituted with the correct struct ... syntax. Signed-off-by: Martin Hofmann Signed-off-by: Michael

[PATCH 5/7] vt6655: Fixed most of the checkpatch warnings in wpa

2013-12-30 Thread Michael Gunselmann
wpa.h: Checkpatch does no longer complain about anything. wpactl.c: Some long-line-warnings still remain but fixing them would deteriorate code readability. Signed-off-by: Michael Gunselmann Signed-off-by: Martin Hofmann --- drivers/staging/vt6655/wpa.c | 156

[PATCH 2/7] vt6655: Fix most of checkpatch.pl errors in wroute

2013-12-30 Thread Michael Gunselmann
line 189 will be fixed in a later commit because it's purpose is not yet known. Signed-off-by: Michael Gunselmann Signed-off-by: Martin Hofmann --- drivers/staging/vt6655/wroute.c | 71 - drivers/staging/vt6655/wroute.h | 3 +- 2

[PATCH 4/7] vt6655: Fixed most of the checkpatch warnings in wpa2

2013-12-30 Thread Michael Gunselmann
necessary to adjust variable declarations that depended on typedefs in wpa2.h. The checkpatch cleanup of this file still remains. Signed-off-by: Michael Gunselmann Signed-off-by: Martin Hofmann --- drivers/staging/vt6655/vntwifi.c | 4 +- drivers/staging/vt6655/wpa2.c| 186

[PATCH 3/7] vt6655: Fixed most of the checkpatch warnings in wpactl

2013-12-30 Thread Michael Gunselmann
r. hostap.c and iwctl.c: wpactl.h used the typedef statement, which was removed while fixing checkpatch-errors. For this to work one statement in hostap.c was adjusted. The ckecpatch cleanup of these two files still remains. Signed-off-by: Michael Gunselmann Signe

[PATCH 1/7] vt6655: Remove unused macros in 80211hdr.h

2013-12-30 Thread Michael Gunselmann
From: Martin Hofmann The file 80211hdr.h contained 4 macros (in both little and big endain fashion) that were not used in the driver. Thus, this patch removes them. Signed-off-by: Martin Hofmann Signed-off-by: Michael Gunselmann --- drivers/staging/vt6655/80211hdr.h | 8 1 file

[PATCH 0/7] vt6655: Cleanup of checkpatch errors

2013-12-30 Thread Michael Gunselmann
This patch series cleans up all checkpatch errors and some warnings in some files of the vt6655 driver in staging. The reference git tree is linux-next. Some checkpatch warnings were not fixed, they are commented in the particular patches. Not all files of the driver were cleaned up in this patc

[PATCH 6/7] vt6655: Remove typedefs in 80211hdr.h

2013-12-30 Thread Michael Gunselmann
From: Martin Hofmann The file 80211hdr.h contained typedefs for 5 types. To satisfy checkpatch, this commit removes them. In 10 other files, every occurence of a now deleted type has been substituted with the correct struct ... syntax. Signed-off-by: Martin Hofmann Signed-off-by: Michael