public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] - Fixes sparse warning in bttv-driver.
@ 2005-11-14 11:54 Luiz Fernando Capitulino
  2005-11-16 19:47 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 2+ messages in thread
From: Luiz Fernando Capitulino @ 2005-11-14 11:54 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, kraxel

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

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

end of thread, other threads:[~2005-11-16 20:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-14 11:54 [PATCH] - Fixes sparse warning in bttv-driver Luiz Fernando Capitulino
2005-11-16 19:47 ` Mauro Carvalho Chehab

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