diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2016-09-25 15:34:52 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-25 19:27:04 +0200 |
commit | 3fd1e3fcb929e6b51598f76cfc0615259b8cfe54 (patch) | |
tree | 9e448124f751af01d307149e3487192d3d30c524 /drivers/staging/wlan-ng/p80211types.h | |
parent | 8c52425a1303f0ad1f385a5e7335d0e75dd014fb (diff) | |
download | op-kernel-dev-3fd1e3fcb929e6b51598f76cfc0615259b8cfe54.zip op-kernel-dev-3fd1e3fcb929e6b51598f76cfc0615259b8cfe54.tar.gz |
staging: wlan-ng: avoid new typedef: p80211pstrd_t
This patch fixes the following checkpatch.pl warning in p80211types.h:
WARNING: do not add new typedefs
It applies for typedef p80211pstrd_t
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlan-ng/p80211types.h')
-rw-r--r-- | drivers/staging/wlan-ng/p80211types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wlan-ng/p80211types.h b/drivers/staging/wlan-ng/p80211types.h index b002ee8..0908510 100644 --- a/drivers/staging/wlan-ng/p80211types.h +++ b/drivers/staging/wlan-ng/p80211types.h @@ -219,10 +219,10 @@ struct p80211pstr { u8 len; } __packed; -typedef struct p80211pstrd { +struct p80211pstrd { u8 len; u8 data[0]; -} __packed p80211pstrd_t; +} __packed; /* Maximum pascal string */ typedef struct p80211pstr255 { |