Re: [PATCH] Staging: octeon-hcd: removed unwanted return from void functions

From: Aaro Koskinen
Date: Mon Sep 08 2014 - 17:26:14 EST


Hi,

On Mon, Sep 08, 2014 at 12:33:47PM -0700, Greg KH wrote:
> On Mon, Sep 08, 2014 at 09:59:23PM +0300, Aaro Koskinen wrote:
> > On Mon, Sep 08, 2014 at 07:13:15PM +0200, Nitin Kuppelur wrote:
> > > This is a patch to the octeon-hcd.c file that fixes checkpatch.pl warning by removing return statement from void functions.
> >
> > Please format line length to <= 76 characters in the commit log.
> >
> > Maybe you could fix __cvmx_usb_perform_complete() as well?
>
> What is wrong with it? That should be in a separate patch...

There's "return;" at the end of void function. I thought the patch
was about that, however it seems checkpatch.pl does not seem
complain about that.

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