Fixed all the errors related to space prohibition found by checkpatch.pl script Signed-off-by: Gokulnath A <Gokulnath.Avanashilingam@xxxxxxxxxxxx> --- drivers/staging/rtl8821ae/pci.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/staging/rtl8821ae/pci.c b/drivers/staging/rtl8821ae/pci.c index 694366e..8e28890 100644 --- a/drivers/staging/rtl8821ae/pci.c +++ b/drivers/staging/rtl8821ae/pci.c @@ -756,17 +756,17 @@ static int _rtl_pci_init_one_rxdesc(struct ieee80211_hw *hw, if (rtlpriv->use_new_trx_flow) { rtlpriv->cfg->ops->set_desc(hw, (u8 *) entry, false, HW_DESC_RX_PREPARE, - (u8 *) & bufferaddress); + (u8 *) &bufferaddress); } else { rtlpriv->cfg->ops->set_desc(hw, (u8 *) entry, false, HW_DESC_RXBUFF_ADDR, - (u8 *) & bufferaddress); + (u8 *) &bufferaddress); rtlpriv->cfg->ops->set_desc(hw, (u8 *) entry, false, HW_DESC_RXPKT_LEN, - (u8 *) & rtlpci->rxbuffersize); + (u8 *) &rtlpci->rxbuffersize); rtlpriv->cfg->ops->set_desc(hw, (u8 *) entry, false, HW_DESC_RXOWN, - (u8 *) & tmp_one); + (u8 *) &tmp_one); } return 1; @@ -993,7 +993,7 @@ static void _rtl_pci_rx_interrupt(struct ieee80211_hw *hw) rtlpriv->cfg->ops->set_desc(hw, (u8 *) pdesc, false, HW_DESC_RXERO, - (u8 *) & tmp_one); + (u8 *) &tmp_one); } rtlpci->rx_ring[rxring_idx].idx = (rtlpci->rx_ring[rxring_idx].idx + 1) % @@ -1115,7 +1115,7 @@ static irqreturn_t _rtl_pci_interrupt(int irq, void *dev_id) if (unlikely(inta & rtlpriv->cfg->maps[RTL_IMR_RDU])) { RT_TRACE(COMP_ERR, DBG_WARNING, ("rx descriptor unavailable!\n")); - rtl_write_byte(rtlpriv, 0xb4, BIT(1) ); + rtl_write_byte(rtlpriv, 0xb4, BIT(1)); _rtl_pci_rx_interrupt(hw); } @@ -1218,7 +1218,7 @@ static void _rtl_pci_prepare_bcn_tasklet(struct ieee80211_hw *hw) __skb_queue_tail(&ring->queue, pskb); rtlpriv->cfg->ops->set_desc(hw, (u8 *) pdesc, true, HW_DESC_OWN, - (u8 *) & temp_one); + (u8 *) &temp_one); return; } @@ -1356,10 +1356,10 @@ static int _rtl_pci_init_tx_ring(struct ieee80211_hw *hw, ((i + 1) % entries) * sizeof(*desc)); - rtlpriv->cfg->ops->set_desc(hw, (u8 *) & (desc[i]), + rtlpriv->cfg->ops->set_desc(hw, (u8 *) &(desc[i]), true, HW_DESC_TX_NEXTDESC_ADDR, - (u8 *) & nextdescaddress); + (u8 *) &nextdescaddress); } } return 0; @@ -1428,7 +1428,7 @@ static int _rtl_pci_init_rx_ring(struct ieee80211_hw *hw, int rxring_idx) return -ENOMEM; } rtlpriv->cfg->ops->set_desc(hw, (u8 *) entry, false, - HW_DESC_RXERO, (u8 *) & tmp_one); + HW_DESC_RXERO, (u8 *) &tmp_one); } return 0; } @@ -1576,7 +1576,7 @@ int rtl_pci_reset_trx_ring(struct ieee80211_hw *hw) rtlpriv->cfg->ops->set_desc(hw, (u8 *) entry, false, HW_DESC_RXOWN, - (u8 *) & tmp_one); + (u8 *) &tmp_one); } } rtlpci->rx_ring[rxring_idx].idx = 0; } @@ -1794,10 +1794,10 @@ static int rtl_pci_tx(struct ieee80211_hw *hw, __skb_queue_tail(&ring->queue, skb); if (rtlpriv->use_new_trx_flow) { rtlpriv->cfg->ops->set_desc(hw, (u8 *) pdesc, true, - HW_DESC_OWN, (u8 *) & hw_queue); + HW_DESC_OWN, (u8 *) &hw_queue); } else { rtlpriv->cfg->ops->set_desc(hw, (u8 *) pdesc, true, - HW_DESC_OWN, (u8 *) & temp_one); + HW_DESC_OWN, (u8 *) &temp_one); } if ((ring->entries - skb_queue_len(&ring->queue)) < 2 && -- 1.8.1.2 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel