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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
15 matches
Mail list logo