On 22/02/16 23:38, Philippe Loctaux wrote:
Added spaces around | and *, fixing 2 checkpatch checks.

Signed-off-by: Philippe Loctaux <p...@philippeloctaux.com>
---
  drivers/staging/comedi/drivers/mite.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
[snip]
@@ -216,7 +216,7 @@ EXPORT_SYMBOL_GPL(mite_free_ring);
  struct mite_channel *mite_request_channel_in_range(struct mite_struct *mite,
                                                   struct
                                                   mite_dma_descriptor_ring
-                                                  *ring, unsigned min_channel,
+                                                  * ring, unsigned min_channel,
                                                   unsigned max_channel)

Actually, that one looks like a false positive by the checkpatch tool. I'd expect no space after that '*'. checkpatch has probably got confused by the line-break before the '*'.

It looks a bit ugly anyway. It would look better if there was a line-break before the function name, the same as in "drivers/staging/comedi/drivers/mite.h":

struct mite_channel *
mite_request_channel_in_range(struct mite_struct *mite,
                              struct mite_dma_descriptor_ring *ring,
                              unsigned min_channel, unsigned max_channel)

--
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbo...@mev.co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to