All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans Verkuil <hverkuil@xs4all.nl>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: linux-media@vger.kernel.org, hans.verkuil@cisco.com
Subject: Re: [PATCH] v4l: v4l2-ctrls: Add forward declaration of struct file
Date: Tue, 8 May 2012 13:55:25 +0200	[thread overview]
Message-ID: <201205081355.25412.hverkuil@xs4all.nl> (raw)
In-Reply-To: <2444415.6B1b1hMN1o@avalon>

On Sun 29 April 2012 18:30:24 Laurent Pinchart wrote:
> On Monday 23 April 2012 13:29:11 Laurent Pinchart wrote:
> > This fixes the following warning:
> > 
> > In file included from drivers/media/video/v4l2-subdev.c:29:
> > include/media/v4l2-ctrls.h:501: warning: 'struct file' declared inside
> > parameter list
> > include/media/v4l2-ctrls.h:501: warning: its scope is only this
> > definition or declaration, which is probably not what you want
> > include/media/v4l2-ctrls.h:509: warning: 'struct file' declared inside
> > parameter list
> 
> Ping ? Should I include this in my next pull request ?

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>

Regards,

	Hans

> 
> > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> > ---
> >  include/media/v4l2-ctrls.h |    1 +
> >  1 files changed, 1 insertions(+), 0 deletions(-)
> > 
> > diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h
> > index 33907a9..9022e1c 100644
> > --- a/include/media/v4l2-ctrls.h
> > +++ b/include/media/v4l2-ctrls.h
> > @@ -25,6 +25,7 @@
> >  #include <linux/videodev2.h>
> > 
> >  /* forward references */
> > +struct file;
> >  struct v4l2_ctrl_handler;
> >  struct v4l2_ctrl_helper;
> >  struct v4l2_ctrl;
> 
> 

      reply	other threads:[~2012-05-08 11:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-23 11:29 [PATCH] v4l: v4l2-ctrls: Add forward declaration of struct file Laurent Pinchart
2012-04-29 16:30 ` Laurent Pinchart
2012-05-08 11:55   ` Hans Verkuil [this message]

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=201205081355.25412.hverkuil@xs4all.nl \
    --to=hverkuil@xs4all.nl \
    --cc=hans.verkuil@cisco.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.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 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.