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 <[email protected]>

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


2005-11-16 20:01:16

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: Re: [PATCH] - Fixes sparse warning in bttv-driver.

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:
> Hi,
>
> The patch below fixes the following sparse warning:
>
> drivers/media/video/bttv-driver.c
>
> Signed-off-by: Luiz Capitulino <[email protected]>
Acked-by: Mauro Carvalho Chehab <[email protected]>
>
> 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
?