Commit d27a71a2 authored by Teodora Baluta's avatar Teodora Baluta Committed by Greg Kroah-Hartman

staging: rtl8187se: (foo*) should be (foo *)

Fix checkpatch error:

ERROR: "(foo*)" should be "(foo *)"
Signed-off-by: default avatarTeodora Baluta <teobaluta@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 41f7ba7a
...@@ -245,7 +245,7 @@ static struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size, ...@@ -245,7 +245,7 @@ static struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size,
struct ieee80211_txb *txb; struct ieee80211_txb *txb;
int i; int i;
txb = kmalloc( txb = kmalloc(
sizeof(struct ieee80211_txb) + (sizeof(u8*) * nr_frags), sizeof(struct ieee80211_txb) + (sizeof(u8 *) * nr_frags),
gfp_mask); gfp_mask);
if (!txb) if (!txb)
return NULL; return NULL;
...@@ -275,7 +275,7 @@ static struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size, ...@@ -275,7 +275,7 @@ static struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size,
static int static int
ieee80211_classify(struct sk_buff *skb, struct ieee80211_network *network) ieee80211_classify(struct sk_buff *skb, struct ieee80211_network *network)
{ {
struct ether_header *eh = (struct ether_header*)skb->data; struct ether_header *eh = (struct ether_header *)skb->data;
unsigned int wme_UP = 0; unsigned int wme_UP = 0;
if(!network->QoS_Enable) { if(!network->QoS_Enable) {
...@@ -284,7 +284,7 @@ ieee80211_classify(struct sk_buff *skb, struct ieee80211_network *network) ...@@ -284,7 +284,7 @@ ieee80211_classify(struct sk_buff *skb, struct ieee80211_network *network)
} }
if(eh->ether_type == __constant_htons(ETHERTYPE_IP)) { if(eh->ether_type == __constant_htons(ETHERTYPE_IP)) {
const struct iphdr *ih = (struct iphdr*)(skb->data + \ const struct iphdr *ih = (struct iphdr *)(skb->data + \
sizeof(struct ether_header)); sizeof(struct ether_header));
wme_UP = (ih->tos >> 5)&0x07; wme_UP = (ih->tos >> 5)&0x07;
} else if (vlan_tx_tag_present(skb)) {//vtag packet } else if (vlan_tx_tag_present(skb)) {//vtag packet
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment