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

* Re: [PATCH 1/1] [PATCH] Staging:vt6655: sparse warning fix
  2014-12-08 18:03 [PATCH 1/1] [PATCH] Staging:vt6655: sparse warning fix Adithya K
@ 2014-12-09 12:34 ` Sudip Mukherjee
  0 siblings, 0 replies; 4+ messages in thread
From: Sudip Mukherjee @ 2014-12-09 12:34 UTC (permalink / raw)
  To: Adithya K
  Cc: forest, gregkh, tvboxspy, gclement, joe, guido, devel,
	linux-kernel, Adithya Krishnamurthy

On Mon, Dec 08, 2014 at 11:33:25PM +0530, Adithya K wrote:
> From: Adithya Krishnamurthy <linux.challenge@gmail.com>
> 
> Fixed sparse warning fix.

you should mention what type of warning you have fixed.

sudip
> 
> 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
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

^ permalink raw reply	[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

* Re: [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, 0 replies; 4+ messages in thread
From: Greg KH @ 2015-01-13  3:39 UTC (permalink / raw)
  To: Adithya K
  Cc: forest, tvboxspy, gclement, joe, guido, devel, linux-kernel,
	Adithya Krishnamurthy

On Tue, Dec 09, 2014 at 08:58:31PM +0530, Adithya K wrote:
> 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(-)

Does not apply to my tree :(

^ permalink raw reply	[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