All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [media] s5p-tv: Fix compiler warning in mixer_video.c file
@ 2012-04-03  8:04 Sachin Kamat
  2012-04-03 10:45 ` Tomasz Stanislawski
  0 siblings, 1 reply; 3+ messages in thread
From: Sachin Kamat @ 2012-04-03  8:04 UTC (permalink / raw)
  To: linux-media; +Cc: t.stanislaws, sachin.kamat, mchehab, patches

Fixes the following warning:

mixer_video.c:857:3: warning: format ‘%lx’ expects argument of type
‘long unsigned int’, but argument 5 has type ‘unsigned int’ [-Wformat]

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/media/video/s5p-tv/mixer_video.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/media/video/s5p-tv/mixer_video.c b/drivers/media/video/s5p-tv/mixer_video.c
index f7ca5cc..bb33d7c 100644
--- a/drivers/media/video/s5p-tv/mixer_video.c
+++ b/drivers/media/video/s5p-tv/mixer_video.c
@@ -854,7 +854,7 @@ static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *pfmt,
 	for (i = 0; i < fmt->num_subframes; ++i) {
 		alloc_ctxs[i] = layer->mdev->alloc_ctx;
 		sizes[i] = PAGE_ALIGN(planes[i].sizeimage);
-		mxr_dbg(mdev, "size[%d] = %08lx\n", i, sizes[i]);
+		mxr_dbg(mdev, "size[%d] = %08x\n", i, sizes[i]);
 	}
 
 	if (*nbuffers == 0)
-- 
1.7.4.1


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

* Re: [PATCH] [media] s5p-tv: Fix compiler warning in mixer_video.c file
  2012-04-03  8:04 [PATCH] [media] s5p-tv: Fix compiler warning in mixer_video.c file Sachin Kamat
@ 2012-04-03 10:45 ` Tomasz Stanislawski
  2012-04-03 10:59   ` Sachin Kamat
  0 siblings, 1 reply; 3+ messages in thread
From: Tomasz Stanislawski @ 2012-04-03 10:45 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-media, mchehab, patches

Hi Sachin Kamat,
Thanks for the patch.
However, the patch is already a duplicate of

http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/45756/focus=45752

Regards,
Tomasz Stanislawski

On 04/03/2012 10:04 AM, Sachin Kamat wrote:
> Fixes the following warning:
> 
> mixer_video.c:857:3: warning: format ‘%lx’ expects argument of type
> ‘long unsigned int’, but argument 5 has type ‘unsigned int’ [-Wformat]
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>  drivers/media/video/s5p-tv/mixer_video.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/media/video/s5p-tv/mixer_video.c b/drivers/media/video/s5p-tv/mixer_video.c
> index f7ca5cc..bb33d7c 100644
> --- a/drivers/media/video/s5p-tv/mixer_video.c
> +++ b/drivers/media/video/s5p-tv/mixer_video.c
> @@ -854,7 +854,7 @@ static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *pfmt,
>  	for (i = 0; i < fmt->num_subframes; ++i) {
>  		alloc_ctxs[i] = layer->mdev->alloc_ctx;
>  		sizes[i] = PAGE_ALIGN(planes[i].sizeimage);
> -		mxr_dbg(mdev, "size[%d] = %08lx\n", i, sizes[i]);
> +		mxr_dbg(mdev, "size[%d] = %08x\n", i, sizes[i]);
>  	}
>  
>  	if (*nbuffers == 0)


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

* Re: [PATCH] [media] s5p-tv: Fix compiler warning in mixer_video.c file
  2012-04-03 10:45 ` Tomasz Stanislawski
@ 2012-04-03 10:59   ` Sachin Kamat
  0 siblings, 0 replies; 3+ messages in thread
From: Sachin Kamat @ 2012-04-03 10:59 UTC (permalink / raw)
  To: Tomasz Stanislawski; +Cc: linux-media, mchehab, patches

Ok. Please ignore my patch.

Looks like this series has not yet made into mainline.

On 03/04/2012, Tomasz Stanislawski <t.stanislaws@samsung.com> wrote:
> Hi Sachin Kamat,
> Thanks for the patch.
> However, the patch is already a duplicate of
>
> http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/45756/focus=45752
>
> Regards,
> Tomasz Stanislawski
>
> On 04/03/2012 10:04 AM, Sachin Kamat wrote:
>> Fixes the following warning:
>>
>> mixer_video.c:857:3: warning: format ‘%lx’ expects argument of type
>> ‘long unsigned int’, but argument 5 has type ‘unsigned int’ [-Wformat]
>>
>> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
>> ---
>>  drivers/media/video/s5p-tv/mixer_video.c |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/drivers/media/video/s5p-tv/mixer_video.c
>> b/drivers/media/video/s5p-tv/mixer_video.c
>> index f7ca5cc..bb33d7c 100644
>> --- a/drivers/media/video/s5p-tv/mixer_video.c
>> +++ b/drivers/media/video/s5p-tv/mixer_video.c
>> @@ -854,7 +854,7 @@ static int queue_setup(struct vb2_queue *vq, const
>> struct v4l2_format *pfmt,
>>  	for (i = 0; i < fmt->num_subframes; ++i) {
>>  		alloc_ctxs[i] = layer->mdev->alloc_ctx;
>>  		sizes[i] = PAGE_ALIGN(planes[i].sizeimage);
>> -		mxr_dbg(mdev, "size[%d] = %08lx\n", i, sizes[i]);
>> +		mxr_dbg(mdev, "size[%d] = %08x\n", i, sizes[i]);
>>  	}
>>
>>  	if (*nbuffers == 0)
>
>


-- 
With warm regards,
Sachin

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

end of thread, other threads:[~2012-04-03 10:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-03  8:04 [PATCH] [media] s5p-tv: Fix compiler warning in mixer_video.c file Sachin Kamat
2012-04-03 10:45 ` Tomasz Stanislawski
2012-04-03 10:59   ` Sachin Kamat

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.