Thread (7 messages) 7 messages, 3 authors, 2016-02-07

Re: [PATCH 2/3] net: wireless: rt2x00: Pointer issue

From: Helmut Schaa <hidden>
Date: 2016-01-21 16:59:10
Also in: lkml, netdev

On Sat, Oct 17, 2015 at 11:06 PM, Paul McQuade [off-list ref] wrote:
Code Style: pointer is declared wrong

Signed-off-by: Paul McQuade <redacted>
Thanks for fixing this code style issue.

Acked-by: Helmut Schaa <redacted>
quoted hunk ↗ jump to hunk
---
 drivers/net/wireless/rt2x00/rt2x00.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h
index 6f8310a..b052e87 100644
--- a/drivers/net/wireless/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/rt2x00/rt2x00.h
@@ -380,7 +380,7 @@ struct rt2x00_intf {
        atomic_t seqno;
 };

-static inline struct rt2x00_intf* vif_to_intf(struct ieee80211_vif *vif)
+static inline struct rt2x00_intf *vif_to_intf(struct ieee80211_vif *vif)
 {
        return (struct rt2x00_intf *)vif->drv_priv;
 }
@@ -507,7 +507,7 @@ struct rt2x00_sta {
        int wcid;
 };

-static inline struct rt2x00_sta* sta_to_rt2x00_sta(struct ieee80211_sta *sta)
+static inline struct rt2x00_sta *sta_to_rt2x00_sta(struct ieee80211_sta *sta)
 {
        return (struct rt2x00_sta *)sta->drv_priv;
 }
--
2.6.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help