lkml.org 
[lkml]   [2014]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] staging: comedi: drivers.c: fix checkpatch code style issue
From
Date
On Wed, 2014-08-06 at 03:53 +0300, Dzonatans Melgalvis wrote:
> Fixing checkpatch warning - blank line missing after declaration.
[]
> diff --git a/drivers/staging/comedi/drivers.c b/drivers/staging/comedi/drivers.c
[]
> @@ -440,6 +440,7 @@ static void *comedi_recognize(struct comedi_driver *driv, const char *name)
> static void comedi_report_boards(struct comedi_driver *driv)
> {
> unsigned int i;
> +
> const char *const *name_ptr;
>
> pr_info("comedi: valid board names for %s driver are:\n",

This is also a false positive from an old version
of checkpatch.

For all messages produced by brainless tools,
please use your skill, experience, and taste and
look at what is being suggested and see if it's
right before sending patches based on the tools
suggestions.



\
 
 \ /
  Last update: 2014-08-06 05:01    [W:0.976 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site