This patch fixes the following checkpatch.pl issues in
rtl8821ae/pci.c file
ERROR: (foo*) should be (foo *)

Signed-off-by: Gokulnath A <gokulnath.avanashilin...@in.bosch.com>
---
 drivers/staging/rtl8821ae/pci.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/rtl8821ae/pci.c b/drivers/staging/rtl8821ae/pci.c
index 0e3e53d..81b42dd 100644
--- a/drivers/staging/rtl8821ae/pci.c
+++ b/drivers/staging/rtl8821ae/pci.c
@@ -392,7 +392,7 @@ static u8 _rtl_pci_get_pciehdr_offset(struct ieee80211_hw 
*hw)
                                             pcicfg_addr_port +
                                             (num4bytes << 2));
                rtl_pci_raw_read_port_ushort(PCI_CONF_DATA,
-                                            (u16*)&capability_hdr);
+                                            (u16 *)&capability_hdr);
                /* Found the PCI express capability. */
                if (capability_hdr.capability_id ==
                    PCI_CAPABILITY_ID_PCI_EXPRESS)
@@ -947,10 +947,10 @@ static void _rtl_pci_rx_interrupt(struct ieee80211_hw *hw)
 
                        /* static bcn for roaming */
                        rtl_beacon_statistic(hw, skb);
-                       rtl_p2p_info(hw, (void*)skb->data, skb->len);
+                       rtl_p2p_info(hw, (void *)skb->data, skb->len);
                        /* for sw lps */
-                       rtl_swlps_beacon(hw, (void*)skb->data, skb->len);
-                       rtl_recognize_peer(hw, (void*)skb->data, skb->len);
+                       rtl_swlps_beacon(hw, (void *)skb->data, skb->len);
+                       rtl_recognize_peer(hw, (void *)skb->data, skb->len);
                        if ((rtlpriv->mac80211.opmode == NL80211_IFTYPE_AP) &&
                            (rtlpriv->rtlhal.current_bandtype ==
                                                         BAND_ON_2_4G) &&
-- 
1.8.1.2

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to