public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] [PATCH] Staging:vt6655: sparse warning fix
@ 2014-12-08 18:03 Adithya K
  2014-12-09 12:34 ` Sudip Mukherjee
  0 siblings, 1 reply; 4+ messages in thread
From: Adithya K @ 2014-12-08 18:03 UTC (permalink / raw)
  To: forest, gregkh, tvboxspy, gclement, joe, guido, devel,
	linux-kernel
  Cc: Adithya Krishnamurthy, Adithya Krishnamurthy

From: Adithya Krishnamurthy <linux.challenge@gmail.com>

Fixed sparse warning fix.

Signed-off-by: Adithya Krishnamurthy <linux.challenge1@gmail.com>
---
---
 drivers/staging/vt6655/device_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c
index 83e4162..a3f5cd8 100644
--- a/drivers/staging/vt6655/device_main.c
+++ b/drivers/staging/vt6655/device_main.c
@@ -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);
 
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [PATCH 1/1] [PATCH] Staging:vt6655: sparse warning fix
@ 2014-12-09 15:28 Adithya K
  2015-01-13  3:39 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Adithya K @ 2014-12-09 15:28 UTC (permalink / raw)
  To: forest, gregkh, tvboxspy, gclement, joe, guido, devel,
	linux-kernel
  Cc: Adithya Krishnamurthy, Adithya Krishnamurthy

From: Adithya Krishnamurthy <linux.challenge@gmail.com>

Fixed sparse warning(symbol was not declared. Should it be static) fix.

Signed-off-by: Adithya Krishnamurthy <linux.challenge1@gmail.com>
---
---
 drivers/staging/vt6655/device_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c
index 83e4162..a3f5cd8 100644
--- a/drivers/staging/vt6655/device_main.c
+++ b/drivers/staging/vt6655/device_main.c
@@ -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);
 
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-13  5:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-08 18:03 [PATCH 1/1] [PATCH] Staging:vt6655: sparse warning fix Adithya K
2014-12-09 12:34 ` Sudip Mukherjee
  -- strict thread matches above, loose matches on Subject: below --
2014-12-09 15:28 Adithya K
2015-01-13  3:39 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox