Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1328630

Re: [PATCH 1/1] staging: coding style cleanups for staging/most/mostcore driver

From Greg KH <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1] staging: coding style cleanups for staging/most/mostcore driver
Date 2016-02-07 23:20 +0100
Message-ID <qZFQu-4hm-13@gated-at.bofh.it> (permalink)
References <qY5Fq-2vi-45@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 1/1] staging: coding style cleanups for  staging/most/mostcore driver Greg KH <gregkh@linuxfoundation.org> - 2016-02-07 23:20 +0100

csiph-web