Linux Media Controller development
 help / color / mirror / Atom feed
From: Tomasz Stanislawski <t.stanislaws@samsung.com>
To: Sachin Kamat <sachin.kamat@linaro.org>
Cc: linux-media@vger.kernel.org, mchehab@infradead.org, patches@linaro.org
Subject: Re: [PATCH] [media] s5p-tv: Fix compiler warning in mixer_video.c file
Date: Tue, 03 Apr 2012 12:45:47 +0200	[thread overview]
Message-ID: <4F7AD4DB.9040403@samsung.com> (raw)
In-Reply-To: <1333440294-382-1-git-send-email-sachin.kamat@linaro.org>

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)


  reply	other threads:[~2012-04-03 10:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2012-04-03 10:59   ` Sachin Kamat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F7AD4DB.9040403@samsung.com \
    --to=t.stanislaws@samsung.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=patches@linaro.org \
    --cc=sachin.kamat@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox