lkml.org 
[lkml]   [2005]   [Nov]   [14]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 14 Nov 2005 09:54:40 -0200
FromLuiz Fernando Capitulino <>
Subject[PATCH] - Fixes sparse warning in bttv-driver.
Hi,

The patch below fixes the following sparse warning:

drivers/media/video/bttv-driver.c

Signed-off-by: Luiz Capitulino <lcapitulino@mandriva.com.br>

 drivers/media/video/bttv-driver.c |    2 +-
 drivers/media/video/bttv-i2c.c    |    0 
 2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/video/bttv-driver.c b/drivers/media/video/bttv-driver.c
--- a/drivers/media/video/bttv-driver.c
+++ b/drivers/media/video/bttv-driver.c
@@ -1853,7 +1853,7 @@ static int bttv_common_ioctls(struct btt
 	}
 	case VIDIOC_LOG_STATUS:
 	{
-		bttv_call_i2c_clients(btv, VIDIOC_LOG_STATUS, 0);
+		bttv_call_i2c_clients(btv, VIDIOC_LOG_STATUS, NULL);
 		return 0;
 	}
 
diff --git a/drivers/media/video/bttv-i2c.c b/drivers/media/video/bttv-i2c.c
-- 
Luiz Fernando N. Capitulino
-
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/

\
 
 \ /
  Last update: 2005-11-14 12:58    [from the cache]
©2003-2008