diff options
author | YAMANE Toshiaki <yamanetoshi@gmail.com> | 2012-11-22 09:06:50 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-26 16:01:30 -0800 |
commit | ac8bc1235bc51035029d3212310c37123e51df6e (patch) | |
tree | 5d53cb4ee997d688dcad77c1fbb6f6e439943a84 /drivers/staging/rtl8187se | |
parent | 5375819d83e54666e4552d1dab87ca6ce44c4600 (diff) | |
download | linux-3.10-ac8bc1235bc51035029d3212310c37123e51df6e.tar.gz linux-3.10-ac8bc1235bc51035029d3212310c37123e51df6e.tar.bz2 linux-3.10-ac8bc1235bc51035029d3212310c37123e51df6e.zip |
staging/rtl8187se: Fix spacing coding style in r8180_core.c
The following errors fixed.
-ERROR: "foo * bar" should be "foo *bar"
-ERROR: "(foo*)" should be "(foo *)"
Signed-off-by: YAMANE Toshiaki <yamanetoshi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8187se')
-rw-r--r-- | drivers/staging/rtl8187se/r8180_core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8187se/r8180_core.c b/drivers/staging/rtl8187se/r8180_core.c index 4d103495dc0..e0414e509be 100644 --- a/drivers/staging/rtl8187se/r8180_core.c +++ b/drivers/staging/rtl8187se/r8180_core.c @@ -1699,7 +1699,7 @@ void rtl8180_prepare_beacon(struct net_device *dev) * descriptor in the ring buffer, copyes the frame in a TX buffer * and kicks the NIC to ensure it does the DMA transfer. */ -short rtl8180_tx(struct net_device *dev, u8* txbuf, int len, int priority, +short rtl8180_tx(struct net_device *dev, u8 *txbuf, int len, int priority, short morefrag, short descfrag, int rate) { struct r8180_priv *priv = ieee80211_priv(dev); @@ -2211,7 +2211,7 @@ void rtl8180_watch_dog(struct net_device *dev); void watch_dog_adaptive(unsigned long data) { - struct r8180_priv* priv = ieee80211_priv((struct net_device *)data); + struct r8180_priv *priv = ieee80211_priv((struct net_device *)data); if (!priv->up) { DMESG("<----watch_dog_adaptive():driver is not up!\n"); @@ -3463,7 +3463,7 @@ void rtl8180_tx_isr(struct net_device *dev, int pri, short error) return ; } - nicv = (u32 *)((nic - nicbegin) + (u8*)begin); + nicv = (u32 *)((nic - nicbegin) + (u8 *)begin); if ((head <= tail && (nicv > tail || nicv < head)) || (head > tail && (nicv > tail && nicv < head))) { DMESGW("nic has lost pointer"); |