Re: [PATCH] staging: vme: Use BIT macro for bit definitions

2017-05-19 Thread Martyn Welch
On Mon, May 15, 2017 at 10:18:14AM +0100, Ricardo Silva wrote: > Use the BIT(n) macro instead of '(1 << n)' in definitions where the bit > semantics clearly applies. > > Fixes true positive "Prefer using the BIT macro" checks reported by > checkpatch. > > Some of these checks are still

[PATCH] staging: vme: Use BIT macro for bit definitions

2017-05-15 Thread Ricardo Silva
Use the BIT(n) macro instead of '(1 << n)' in definitions where the bit semantics clearly applies. Fixes true positive "Prefer using the BIT macro" checks reported by checkpatch. Some of these checks are still triggering on definitions using '(1 << n)', namely for PIO2_CNTR_SC_DEV1,