diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2016-09-25 15:35:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-25 19:54:01 +0200 |
commit | b26b232544601facdbf41e0e72f1a4ae1d2e8f00 (patch) | |
tree | ad2055156a99c14d182fdab49561d16d4fa684da /drivers/staging/wlan-ng/p80211types.h | |
parent | staging: wlan-ng: avoid new typedef: p80211itemd_t (diff) | |
download | linux-dev-b26b232544601facdbf41e0e72f1a4ae1d2e8f00.tar.xz linux-dev-b26b232544601facdbf41e0e72f1a4ae1d2e8f00.zip |
staging: wlan-ng: avoid new typedef: p80211item_uint32_t
This patch fixes the following checkpatch.pl warning in p80211types.h:
WARNING: do not add new typedefs
It applies for typedef p80211item_uint32_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 57a65a83e3b5..13962ec9e83b 100644 --- a/drivers/staging/wlan-ng/p80211types.h +++ b/drivers/staging/wlan-ng/p80211types.h @@ -270,12 +270,12 @@ struct p80211itemd { } __packed; /* message data item for int, BOUNDEDINT, ENUMINT */ -typedef struct p80211item_uint32 { +struct p80211item_uint32 { u32 did; u16 status; u16 len; u32 data; -} __packed p80211item_uint32_t; +} __packed; /* message data item for OCTETSTR, DISPLAYSTR */ typedef struct p80211item_pstr6 { |