Skip to contentSkip to conversation

Staging:vt6655: sparse warning fix

PATCH In review Adithya K 2 participants 2 messages Dec 9, 2014 Staging

lore
Share & tools
lore

Adithya K

author
#0 lore raw

PATCH 1/1 Staging:vt6655: sparse warning fix

From: Adithya Krishnamurthy <[email protected]>

Fixed sparse warning fix.

---

---
 drivers/staging/vt6655/device_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vt6655/device_main.c +1 -1
index 83e4162..a3f5cd8 100644
@@ -1669,7 +1669,7 @@ static const struct ieee80211_ops vnt_mac_ops = {
 	.reset_tsf		= vnt_reset_tsf,
 };
 
-int vnt_init(struct vnt_private *priv)
+static int vnt_init(struct vnt_private *priv)
 {
 	SET_IEEE80211_PERM_ADDR(priv->hw, priv->abyCurrentNetAddr);
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 3 lines · Adithya K

From: Adithya Krishnamurthy <[email protected]>

Fixed sparse warning fix.

you should mention what type of warning you have fixed.

sudip

Quoted 28 lines

---

---
 drivers/staging/vt6655/device_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vt6655/device_main.c +1 -1
index 83e4162..a3f5cd8 100644
@@ -1669,7 +1669,7 @@ static const struct ieee80211_ops vnt_mac_ops = {
 	.reset_tsf		= vnt_reset_tsf,
 };
 
-int vnt_init(struct vnt_private *priv)
+static int vnt_init(struct vnt_private *priv)
 {
 	SET_IEEE80211_PERM_ADDR(priv->hw, priv->abyCurrentNetAddr);
 
Signature · 7 lines
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/