Re: [PATCH 1/1] staging: coding style cleanups for staging/most/mostcore driver
From: Greg KH
Date: Sun Feb 07 2016 - 17:18:18 EST
On Fri, Jan 29, 2016 at 11:33:20PM +0530, Bijosh Thykkoottathil wrote:
> Fixes following coding style issues reported by the check patch script.
> - ERROR: Macros with complex values should be enclosed in parentheses
>
> Moving static storage class to the beginning of declaration fixes these
> errors.
Well that's a horrid fix for this, as you aren't doing anything
different here.
Fix the tool if it is reporting things incorrectly, don't blindly change
code for no reason please. checkpatch isn't always correct, as you have
found out.
thanks,
greg k-h