Skip to contentSkip to conversation

- Fixes sparse warning in bttv-driver.

PATCH In review Luiz Fernando Capitulino 2 participants 2 messages Nov 14, 2005 – Nov 16, 2005 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 - Fixes sparse warning in bttv-driver.

Hi,

The patch below fixes the following sparse warning:

drivers/media/video/bttv-driver.c

 drivers/media/video/bttv-driver.c |    2 +-
 drivers/media/video/bttv-i2c.c    |    0 
 2 files changed, 1 insertion(+), 1 deletion(-)
drivers/media/video/bttv-driver.c +1 -1
@@ -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;
 	}
 
drivers/media/video/bttv-i2c.c +0 -0
Signature · 1 line
Luiz Fernando N. Capitulino
Acked-by on v1 1/1
#1 lore raw

Luiz Fernando,

Please send V4L fixes to me instead of Kraxel or to V4L mailing list
([email protected]). I'm the current V4L maintainer.

Cheers,
Mauro.

Em Seg, 2005-11-14 às 09:54 -0200, Luiz Fernando Capitulino escreveu:

Quoted 7 lines

Hi,

The patch below fixes the following sparse warning:

drivers/media/video/bttv-driver.c

Quoted 3 lines
 drivers/media/video/bttv-driver.c |    2 +-
 drivers/media/video/bttv-i2c.c    |    0 
	?

drivers/media/video/bttv-i2c.c

Quoted 15 lines
 2 files changed, 1 insertion(+), 1 deletion(-)
drivers/media/video/bttv-driver.c +1 -1
@@ -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;
 	}
 
drivers/media/video/bttv-i2c.c +0 -0
	?