[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1393232015.11020.25.camel@joe-AO722>
Date: Mon, 24 Feb 2014 00:53:35 -0800
From: Joe Perches <joe@...ches.com>
To: David Roddick <dgroddick@...il.com>
Cc: gregkh@...uxfoundation.org, abbotti@....co.uk,
hsweeten@...ionengravers.com, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Staging: comedi: Fix coding style issue in poc.c
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists