Commit f6692285 authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: Fix SPACING errors

Fix several SPACING errors to make checkpatch happy.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent aedd45df
...@@ -1002,7 +1002,7 @@ void rtl8192_SwChnl_WorkItem(struct net_device *dev) ...@@ -1002,7 +1002,7 @@ void rtl8192_SwChnl_WorkItem(struct net_device *dev)
RT_TRACE(COMP_TRACE, "=====>--%s(), set chan:%d, priv:%p\n", __func__, RT_TRACE(COMP_TRACE, "=====>--%s(), set chan:%d, priv:%p\n", __func__,
priv->chan, priv); priv->chan, priv);
rtl8192_phy_FinishSwChnlNow(dev , priv->chan); rtl8192_phy_FinishSwChnlNow(dev, priv->chan);
RT_TRACE(COMP_TRACE, "<== SwChnlCallback819xUsbWorkItem()\n"); RT_TRACE(COMP_TRACE, "<== SwChnlCallback819xUsbWorkItem()\n");
} }
......
...@@ -1533,7 +1533,7 @@ static void rtl819x_ifsilentreset(struct net_device *dev) ...@@ -1533,7 +1533,7 @@ static void rtl819x_ifsilentreset(struct net_device *dev)
SEM_UP_IEEE_WX(&ieee->wx_sem); SEM_UP_IEEE_WX(&ieee->wx_sem);
} else { } else {
netdev_info(dev, "ieee->state is NOT LINKED\n"); netdev_info(dev, "ieee->state is NOT LINKED\n");
rtllib_softmac_stop_protocol(priv->rtllib, 0 , true); rtllib_softmac_stop_protocol(priv->rtllib, 0, true);
} }
dm_backup_dynamic_mechanism_state(dev); dm_backup_dynamic_mechanism_state(dev);
...@@ -2102,7 +2102,7 @@ static short rtl8192_alloc_rx_desc_ring(struct net_device *dev) ...@@ -2102,7 +2102,7 @@ static short rtl8192_alloc_rx_desc_ring(struct net_device *dev)
entry->OWN = 1; entry->OWN = 1;
} }
if(entry) if (entry)
entry->EOR = 1; entry->EOR = 1;
} }
return 0; return 0;
...@@ -2519,7 +2519,7 @@ void rtl8192_commit(struct net_device *dev) ...@@ -2519,7 +2519,7 @@ void rtl8192_commit(struct net_device *dev)
if (priv->up == 0) if (priv->up == 0)
return; return;
rtllib_softmac_stop_protocol(priv->rtllib, 0 , true); rtllib_softmac_stop_protocol(priv->rtllib, 0, true);
rtl8192_irq_disable(dev); rtl8192_irq_disable(dev);
priv->ops->stop_adapter(dev, true); priv->ops->stop_adapter(dev, true);
_rtl8192_up(dev, false); _rtl8192_up(dev, false);
......
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
#define RTL_PCI_DEVICE(vend, dev, cfg) \ #define RTL_PCI_DEVICE(vend, dev, cfg) \
.vendor = (vend), .device = (dev), \ .vendor = (vend), .device = (dev), \
.subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID , \ .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, \
.driver_data = (kernel_ulong_t)&(cfg) .driver_data = (kernel_ulong_t)&(cfg)
#define RTL_MAX_SCAN_SIZE 128 #define RTL_MAX_SCAN_SIZE 128
...@@ -303,9 +303,9 @@ enum pci_bridge_vendor { ...@@ -303,9 +303,9 @@ enum pci_bridge_vendor {
PCI_BRIDGE_VENDOR_INTEL = 0x0, PCI_BRIDGE_VENDOR_INTEL = 0x0,
PCI_BRIDGE_VENDOR_ATI, PCI_BRIDGE_VENDOR_ATI,
PCI_BRIDGE_VENDOR_AMD, PCI_BRIDGE_VENDOR_AMD,
PCI_BRIDGE_VENDOR_SIS , PCI_BRIDGE_VENDOR_SIS,
PCI_BRIDGE_VENDOR_UNKNOWN, PCI_BRIDGE_VENDOR_UNKNOWN,
PCI_BRIDGE_VENDOR_MAX , PCI_BRIDGE_VENDOR_MAX,
}; };
struct buffer { struct buffer {
......
...@@ -73,8 +73,7 @@ enum RTL_DEBUG { ...@@ -73,8 +73,7 @@ enum RTL_DEBUG {
#define RT_TRACE(component, x, args...) \ #define RT_TRACE(component, x, args...) \
do { \ do { \
if (rt_global_debug_component & component) \ if (rt_global_debug_component & component) \
printk(KERN_DEBUG DRV_NAME ":" x "\n" , \ printk(KERN_DEBUG DRV_NAME ":" x "\n", ##args);\
##args);\
} while (0) } while (0)
#define assert(expr) \ #define assert(expr) \
......
...@@ -469,7 +469,7 @@ static bool AddReorderEntry(struct rx_ts_record *pTS, ...@@ -469,7 +469,7 @@ static bool AddReorderEntry(struct rx_ts_record *pTS,
void rtllib_indicate_packets(struct rtllib_device *ieee, struct rtllib_rxb **prxbIndicateArray, u8 index) void rtllib_indicate_packets(struct rtllib_device *ieee, struct rtllib_rxb **prxbIndicateArray, u8 index)
{ {
struct net_device_stats *stats = &ieee->stats; struct net_device_stats *stats = &ieee->stats;
u8 i = 0 , j = 0; u8 i = 0, j = 0;
u16 ethertype; u16 ethertype;
for (j = 0; j < index; j++) { for (j = 0; j < index; j++) {
......
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