Re: [PATCH 02/12] staging: wlan-ng: avoid use of camel case macro names in p80211metadef.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 30, 2018 at 11:28:13AM +0100, Tim Collier wrote:
> On Wed, Aug 29, 2018 at 02:37:36PM +0300, Dan Carpenter wrote:
> > On Tue, Aug 28, 2018 at 08:26:13PM +0100, Tim Collier wrote:
> > > checkpatch reported a number of "Avoid CamelCase" issues for macros
> > > defined in p80211metadef.h (and for files that used these macros).
> > > 
> > > Renamed the macros to all upper-case (except for
> > > DIDmib_dot11smt_dot11WEPDefaultKeysTable_key, a function-like macro,
> > > which was renamed to all lower-case) to conform to the coding
> > > guidelines.
> > > 
> > 
> > We rename variables and then rename them again to shorter names.  It
> > feels like we should just do it one time...
> 
> I split into two steps in case the shortening was rejected and also
> because the large number of changes for this particular patch seemed
> easier for review if the changes were simple and repetitive.
> 
> Happy to change it, though. How would you recommend organizing? One
> patch per name changed, one per group or just one big hit including
> case change and shortenings?

One patch per name changed is usually easier to review.

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux