Re: [PATCH] Staging: comedi: Fix coding style issue in poc.c

From: Joe Perches
Date: Mon Feb 24 2014 - 03:53:48 EST


On Mon, 2014-02-24 at 19:39 +1100, David Roddick wrote:
> This is a patch to remove unneccessary space after function pointer name found with checkpatch.pl

A few comments:

Please wrap your commit message to 70 columns or so.

There is 1 c in unnecessary.

The "This is a patch to " bit isn't particularly useful in
the commit log, neither is the "found with checkpatch.pl".

> diff --git a/drivers/staging/comedi/drivers/poc.c b/drivers/staging/comedi/drivers/poc.c
[]
> @@ -36,15 +36,15 @@ Configuration options:
[]
> - int (*winsn) (struct comedi_device *, struct comedi_subdevice *,
> + int (*winsn)(struct comedi_device *, struct comedi_subdevice *,
> struct comedi_insn *, unsigned int *);

Please wrap multi-line definitions lines like:

int (*winsn)(struct comedi_device *, struct comedi_subdevice *,
struct comedi_insn *, unsigned int *);

Ideally, these arguments would have some descriptive names
too.


--
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/