diff options
author | Himangi Saraogi | 2013-11-02 13:41:44 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2013-11-10 20:49:00 +0100 |
commit | b21199116a0ed9a27326b0cb85b1cdcc3997b879 (patch) | |
tree | 1ac4b51d872902ab5bb74702a5d1c7a1febb1764 /drivers/staging/wlan-ng/hfa384x.h | |
parent | staging:wlan-ng:cfg80211.c: Shorten lines to 80 characters (diff) | |
download | kernel-qcow2-linux-b21199116a0ed9a27326b0cb85b1cdcc3997b879.tar.gz kernel-qcow2-linux-b21199116a0ed9a27326b0cb85b1cdcc3997b879.tar.xz kernel-qcow2-linux-b21199116a0ed9a27326b0cb85b1cdcc3997b879.zip |
staging:wlan-ng:hfa384x.h: remove typedef struct hfa384x_bytestr __packed hfa384x_bytestr_t
This patch removes the checkpatch.pl warning "do not add new typedefs"
and changes all source files that use that typedef. Also lines were
shortened to 80 characters to do away with the checkpatch.pl warning
"line over 80 characters" generated due to replacement of the
hfa384x_bytestr_t by struct hfa384x_bytestr in prism2mgmt.c,
prism2mgmt.h, prism2mib.c, prism2sta.c.
Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlan-ng/hfa384x.h')
-rw-r--r-- | drivers/staging/wlan-ng/hfa384x.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h index 3dfa85ccc504..333a2f693e49 100644 --- a/drivers/staging/wlan-ng/hfa384x.h +++ b/drivers/staging/wlan-ng/hfa384x.h @@ -350,10 +350,10 @@ PD Record codes /*-------------------------------------------------------------*/ /* Commonly used basic types */ -typedef struct hfa384x_bytestr { +struct hfa384x_bytestr { u16 len; u8 data[0]; -} __packed hfa384x_bytestr_t; +} __packed; typedef struct hfa384x_bytestr32 { u16 len; |