diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2016-09-25 15:35:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-25 19:54:01 +0200 |
commit | 1ad26f70e43518144ad760a97b7323cc85fe17fa (patch) | |
tree | c75c357ea5f79521ea904f55667d9345bc668b7d /drivers | |
parent | 37e48668cee8b32aea70a8a4e6c36725aaa52d5e (diff) | |
download | linux-stable-1ad26f70e43518144ad760a97b7323cc85fe17fa.tar.gz linux-stable-1ad26f70e43518144ad760a97b7323cc85fe17fa.tar.bz2 linux-stable-1ad26f70e43518144ad760a97b7323cc85fe17fa.zip |
staging: wlan-ng: avoid new typedef: p80211item_unk1024_t
This patch fixes the following checkpatch.pl warning in p80211types.h:
WARNING: do not add new typedefs
It applies for typedef p80211item_unk1024_t
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/wlan-ng/p80211metastruct.h | 2 | ||||
-rw-r--r-- | drivers/staging/wlan-ng/p80211types.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/wlan-ng/p80211metastruct.h b/drivers/staging/wlan-ng/p80211metastruct.h index 23fd385f2415..0b18c19d53c1 100644 --- a/drivers/staging/wlan-ng/p80211metastruct.h +++ b/drivers/staging/wlan-ng/p80211metastruct.h @@ -227,7 +227,7 @@ struct p80211msg_p2req_readpda { u32 msgcode; u32 msglen; u8 devname[WLAN_DEVNAMELEN_MAX]; - p80211item_unk1024_t pda; + struct p80211item_unk1024 pda; struct p80211item_uint32 resultcode; } __packed; diff --git a/drivers/staging/wlan-ng/p80211types.h b/drivers/staging/wlan-ng/p80211types.h index 8aefd0a903ea..921b3762a62c 100644 --- a/drivers/staging/wlan-ng/p80211types.h +++ b/drivers/staging/wlan-ng/p80211types.h @@ -318,12 +318,12 @@ struct p80211item_unk392 { } __packed; /* message data item for UNK 1025, namely p2 pdas */ -typedef struct p80211item_unk1024 { +struct p80211item_unk1024 { u32 did; u16 status; u16 len; u8 data[1024]; -} __packed p80211item_unk1024_t; +} __packed; /* message data item for UNK 4096, namely p2 download chunks */ typedef struct p80211item_unk4096 { |