2014-01-13 21:48:09

by Joe Borg

[permalink] [raw]
Subject: [PATCH] DAS1800: Fixing foo * bar should be foo *bar

Fixed an error flagged by checkpatch.pl, 'foo * bar should be foo *bar' in the parameters of function munge_data().

Signed-off-by Joe Borg <[email protected]>
---
drivers/staging/comedi/drivers/das1800.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/comedi/drivers/das1800.c b/drivers/staging/comedi/drivers/das1800.c
index 1880038..8fb87df 100644
--- a/drivers/staging/comedi/drivers/das1800.c
+++ b/drivers/staging/comedi/drivers/das1800.c
@@ -462,7 +462,7 @@ static inline uint16_t munge_bipolar_sample(const struct comedi_device *dev,
return sample;
}

-static void munge_data(struct comedi_device *dev, uint16_t * array,
+static void munge_data(struct comedi_device *dev, uint16_t *array,
unsigned int num_elements)
{
unsigned int i;
--
1.8.5.2


2014-01-13 21:53:17

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH] DAS1800: Fixing foo * bar should be foo *bar

On Mon, Jan 13, 2014 at 09:47:59PM +0000, Joe Borg wrote:
> Fixed an error flagged by checkpatch.pl, 'foo * bar should be foo *bar' in the parameters of function munge_data().

Please wrap your changelog comments at 72 colums, like git asks you to
when you type them in.

> Signed-off-by Joe Borg <[email protected]>

No "ฤก"?