[PATCH] Staging: speakup: buffers: Fixed a return value coding style issue.

Greg KH gregkh at linuxfoundation.org
Thu Feb 27 19:10:17 UTC 2014


On Thu, Feb 27, 2014 at 06:12:48PM +0000, rs at mage.me.uk wrote:
> When checking buffers.c with checkpatch.pl it throws the following error:
> drivers/staging/speakup/buffers.c:58: ERROR: return is not a function,
> parentheses are not required

Remember, checkpatch.pl is a "guide", not the "law".  Use common sense
when using the tool please.

thanks,

greg k-h


More information about the devel mailing list