lkml.org 
[lkml]   [2017]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4] Staging: most: use __func__ instead of the function name
Sorry!
And thanks for pointing it out.

regards
Chandra

On Wed, 26 Apr 2017, Dan Carpenter wrote:

> On Wed, Apr 26, 2017 at 06:02:29AM -0700, Chandra Annamaneni wrote:
> >
> > Change video.c to use %s, __func__ instead of function names.
> > Warnings flagged by checkpatch.pl
> >
> > Signed-off-by: Chandra Annamaneni <chandra627@gmail.com>
> >
> > diff --git a/drivers/staging/most/aim-v4l2/video.c b/drivers/staging/most/aim-v4l2/video.c
> > index 59e861e..e074841 100644
> > --- a/drivers/staging/most/aim-v4l2/video.c
> > +++ b/drivers/staging/most/aim-v4l2/video.c
> > @@ -79,7 +79,7 @@ static int aim_vdev_open(struct file *filp)
> > struct most_video_dev *mdev = video_drvdata(filp);
> > struct aim_fh *fh;
> >
> > - v4l2_info(&mdev->v4l2_dev, "%s()\n", __func__);
> > + v4l2_info(&mdev->v4l2_dev, "aim_vdev_open()\n");
>
> You sent the reversed patch.
>
> regards,
> dan carpenter
>
>

\
 
 \ /
  Last update: 2017-04-26 23:25    [W:0.826 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site