Re: [PATCH] staging: comedi: drivers.c: fix checkpatch code style issue

From: Joe Perches
Date: Tue Aug 05 2014 - 22:35:47 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/