staging: fbtft: Adding spaces around '<<'
Subsystems (2)
PATCH 1/1 staging: fbtft: Adding spaces around '<<'
Adding spaces around '<<' to fix checkpatch issue.
CHECK: spaces preferred around that '<<' (ctx:VxV)
--- drivers/staging/fbtft/fbtft.h | 56 +++++++++++++++++++++---------------------- 1 file changed, 28 insertions(+), 28 deletions(-)
drivers/staging/fbtft/fbtft.h +28 -28
@@ -355,39 +355,39 @@ static void __exit fbtft_driver_module_exit(void) \#define DEBUG_LEVEL_6 (DEBUG_LEVEL_4 | DEBUG_LEVEL_5)#define DEBUG_LEVEL_7 0xFFFFFFFF -#define DEBUG_DRIVER_INIT_FUNCTIONS (1<<3) -#define DEBUG_TIME_FIRST_UPDATE (1<<4) -#define DEBUG_TIME_EACH_UPDATE (1<<5) -#define DEBUG_DEFERRED_IO (1<<6) -#define DEBUG_FBTFT_INIT_FUNCTIONS (1<<7) +#define DEBUG_DRIVER_INIT_FUNCTIONS (1 << 3) +#define DEBUG_TIME_FIRST_UPDATE (1 << 4) +#define DEBUG_TIME_EACH_UPDATE (1 << 5) +#define DEBUG_DEFERRED_IO (1 << 6) +#define DEBUG_FBTFT_INIT_FUNCTIONS (1 << 7)/* fbops */ -#define DEBUG_FB_READ (1<<8) -#define DEBUG_FB_WRITE (1<<9) -#define DEBUG_FB_FILLRECT (1<<10) -#define DEBUG_FB_COPYAREA (1<<11) -#define DEBUG_FB_IMAGEBLIT (1<<12) -#define DEBUG_FB_SETCOLREG (1<<13) -#define DEBUG_FB_BLANK (1<<14) +#define DEBUG_FB_READ (1 << 8) +#define DEBUG_FB_WRITE (1 << 9) +#define DEBUG_FB_FILLRECT (1 << 10) +#define DEBUG_FB_COPYAREA (1 << 11) +#define DEBUG_FB_IMAGEBLIT (1 << 12) +#define DEBUG_FB_SETCOLREG (1 << 13) +#define DEBUG_FB_BLANK (1 << 14) -#define DEBUG_SYSFS (1<<16) +#define DEBUG_SYSFS (1 << 16)/* fbtftops */ -#define DEBUG_BACKLIGHT (1<<17) -#define DEBUG_READ (1<<18) -#define DEBUG_WRITE (1<<19) -#define DEBUG_WRITE_VMEM (1<<20) -#define DEBUG_WRITE_REGISTER (1<<21) -#define DEBUG_SET_ADDR_WIN (1<<22) -#define DEBUG_RESET (1<<23) -#define DEBUG_MKDIRTY (1<<24) -#define DEBUG_UPDATE_DISPLAY (1<<25) -#define DEBUG_INIT_DISPLAY (1<<26) -#define DEBUG_BLANK (1<<27) -#define DEBUG_REQUEST_GPIOS (1<<28) -#define DEBUG_FREE_GPIOS (1<<29) -#define DEBUG_REQUEST_GPIOS_MATCH (1<<30) -#define DEBUG_VERIFY_GPIOS (1<<31) +#define DEBUG_BACKLIGHT (1 << 17) +#define DEBUG_READ (1 << 18) +#define DEBUG_WRITE (1 << 19) +#define DEBUG_WRITE_VMEM (1 << 20) +#define DEBUG_WRITE_REGISTER (1 << 21) +#define DEBUG_SET_ADDR_WIN (1 << 22) +#define DEBUG_RESET (1 << 23) +#define DEBUG_MKDIRTY (1 << 24) +#define DEBUG_UPDATE_DISPLAY (1 << 25) +#define DEBUG_INIT_DISPLAY (1 << 26) +#define DEBUG_BLANK (1 << 27) +#define DEBUG_REQUEST_GPIOS (1 << 28) +#define DEBUG_FREE_GPIOS (1 << 29) +#define DEBUG_REQUEST_GPIOS_MATCH (1 << 30) +#define DEBUG_VERIFY_GPIOS (1 << 31) #define fbtft_init_dbg(dev, format, arg...) \ do { \
Signature · 1 line
1.9.1
Quoted 2 lines · Mamta Shukla
Adding spaces around '<<' to fix checkpatch issue.
CHECK: spaces preferred around that '<<' (ctx:VxV)
It looks like the BIT macro could actually be mre useful here.
julia
Quoted 88 lines
Signed-off-by Mamta Shukla <[email protected]>--- drivers/staging/fbtft/fbtft.h | 56 +++++++++++++++++++++---------------------- 1 file changed, 28 insertions(+), 28 deletions(-)drivers/staging/fbtft/fbtft.h +28
-29@@ -355,39 +355,39 @@ static void __exit fbtft_driver_module_exit(void) \#define DEBUG_LEVEL_6 (DEBUG_LEVEL_4 | DEBUG_LEVEL_5)#define DEBUG_LEVEL_7 0xFFFFFFFF -#define DEBUG_DRIVER_INIT_FUNCTIONS (1<<3) -#define DEBUG_TIME_FIRST_UPDATE (1<<4) -#define DEBUG_TIME_EACH_UPDATE (1<<5) -#define DEBUG_DEFERRED_IO (1<<6) -#define DEBUG_FBTFT_INIT_FUNCTIONS (1<<7) +#define DEBUG_DRIVER_INIT_FUNCTIONS (1 << 3) +#define DEBUG_TIME_FIRST_UPDATE (1 << 4) +#define DEBUG_TIME_EACH_UPDATE (1 << 5) +#define DEBUG_DEFERRED_IO (1 << 6) +#define DEBUG_FBTFT_INIT_FUNCTIONS (1 << 7)/* fbops */ -#define DEBUG_FB_READ (1<<8) -#define DEBUG_FB_WRITE (1<<9) -#define DEBUG_FB_FILLRECT (1<<10) -#define DEBUG_FB_COPYAREA (1<<11) -#define DEBUG_FB_IMAGEBLIT (1<<12) -#define DEBUG_FB_SETCOLREG (1<<13) -#define DEBUG_FB_BLANK (1<<14) +#define DEBUG_FB_READ (1 << 8) +#define DEBUG_FB_WRITE (1 << 9) +#define DEBUG_FB_FILLRECT (1 << 10) +#define DEBUG_FB_COPYAREA (1 << 11) +#define DEBUG_FB_IMAGEBLIT (1 << 12) +#define DEBUG_FB_SETCOLREG (1 << 13) +#define DEBUG_FB_BLANK (1 << 14) -#define DEBUG_SYSFS (1<<16) +#define DEBUG_SYSFS (1 << 16)/* fbtftops */ -#define DEBUG_BACKLIGHT (1<<17) -#define DEBUG_READ (1<<18) -#define DEBUG_WRITE (1<<19) -#define DEBUG_WRITE_VMEM (1<<20) -#define DEBUG_WRITE_REGISTER (1<<21) -#define DEBUG_SET_ADDR_WIN (1<<22) -#define DEBUG_RESET (1<<23) -#define DEBUG_MKDIRTY (1<<24) -#define DEBUG_UPDATE_DISPLAY (1<<25) -#define DEBUG_INIT_DISPLAY (1<<26) -#define DEBUG_BLANK (1<<27) -#define DEBUG_REQUEST_GPIOS (1<<28) -#define DEBUG_FREE_GPIOS (1<<29) -#define DEBUG_REQUEST_GPIOS_MATCH (1<<30) -#define DEBUG_VERIFY_GPIOS (1<<31) +#define DEBUG_BACKLIGHT (1 << 17) +#define DEBUG_READ (1 << 18) +#define DEBUG_WRITE (1 << 19) +#define DEBUG_WRITE_VMEM (1 << 20) +#define DEBUG_WRITE_REGISTER (1 << 21) +#define DEBUG_SET_ADDR_WIN (1 << 22) +#define DEBUG_RESET (1 << 23) +#define DEBUG_MKDIRTY (1 << 24) +#define DEBUG_UPDATE_DISPLAY (1 << 25) +#define DEBUG_INIT_DISPLAY (1 << 26) +#define DEBUG_BLANK (1 << 27) +#define DEBUG_REQUEST_GPIOS (1 << 28) +#define DEBUG_FREE_GPIOS (1 << 29) +#define DEBUG_REQUEST_GPIOS_MATCH (1 << 30) +#define DEBUG_VERIFY_GPIOS (1 << 31) #define fbtft_init_dbg(dev, format, arg...) \ do { \ --1.9.1
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20181003132917.GA29977%40armorer.
For more options, visit https://groups.google.com/d/optout.
Quoted 11 lines · Julia Lawall
Quoted 6 lines · Mamta Shukla
Adding spaces around '<<' to fix checkpatch issue.
CHECK: spaces preferred around that '<<' (ctx:VxV)It looks like the BIT macro could actually be mre useful here.
julia
Ok, I will make the change.
I need to write new patch, right? Because another version of this patch may conflict the subject.
-Mamta
Quoted 88 lines
Quoted 5 lines
Signed-off-by Mamta Shukla <[email protected]>--- drivers/staging/fbtft/fbtft.h | 56+++++++++++++++++++++----------------------
Review
Quoted 3 lines
1 file changed, 28 insertions(+), 28 deletions(-)(quoted diff) +0
-0
b/drivers/staging/fbtft/fbtft.hdrivers/staging/fbtft/fbtft.h static void __exit fbtft_driver_module_exit(void)
Quoted 4 lines
index 25302ff..a3db23b 100644
drivers/staging/fbtft/fbtft.h +0
-0@@ -355,39 +355,39 @@ static void __exit fbtft_driver_module_exit(void)\Quoted 70 lines
drivers/staging/fbtft/fbtft.h +28
-29#define DEBUG_LEVEL_6 (DEBUG_LEVEL_4 | DEBUG_LEVEL_5)#define DEBUG_LEVEL_7 0xFFFFFFFF -#define DEBUG_DRIVER_INIT_FUNCTIONS (1<<3) -#define DEBUG_TIME_FIRST_UPDATE (1<<4) -#define DEBUG_TIME_EACH_UPDATE (1<<5) -#define DEBUG_DEFERRED_IO (1<<6) -#define DEBUG_FBTFT_INIT_FUNCTIONS (1<<7) +#define DEBUG_DRIVER_INIT_FUNCTIONS (1 << 3) +#define DEBUG_TIME_FIRST_UPDATE (1 << 4) +#define DEBUG_TIME_EACH_UPDATE (1 << 5) +#define DEBUG_DEFERRED_IO (1 << 6) +#define DEBUG_FBTFT_INIT_FUNCTIONS (1 << 7)/* fbops */ -#define DEBUG_FB_READ (1<<8) -#define DEBUG_FB_WRITE (1<<9) -#define DEBUG_FB_FILLRECT (1<<10) -#define DEBUG_FB_COPYAREA (1<<11) -#define DEBUG_FB_IMAGEBLIT (1<<12) -#define DEBUG_FB_SETCOLREG (1<<13) -#define DEBUG_FB_BLANK (1<<14) +#define DEBUG_FB_READ (1 << 8) +#define DEBUG_FB_WRITE (1 << 9) +#define DEBUG_FB_FILLRECT (1 << 10) +#define DEBUG_FB_COPYAREA (1 << 11) +#define DEBUG_FB_IMAGEBLIT (1 << 12) +#define DEBUG_FB_SETCOLREG (1 << 13) +#define DEBUG_FB_BLANK (1 << 14) -#define DEBUG_SYSFS (1<<16) +#define DEBUG_SYSFS (1 << 16)/* fbtftops */ -#define DEBUG_BACKLIGHT (1<<17) -#define DEBUG_READ (1<<18) -#define DEBUG_WRITE (1<<19) -#define DEBUG_WRITE_VMEM (1<<20) -#define DEBUG_WRITE_REGISTER (1<<21) -#define DEBUG_SET_ADDR_WIN (1<<22) -#define DEBUG_RESET (1<<23) -#define DEBUG_MKDIRTY (1<<24) -#define DEBUG_UPDATE_DISPLAY (1<<25) -#define DEBUG_INIT_DISPLAY (1<<26) -#define DEBUG_BLANK (1<<27) -#define DEBUG_REQUEST_GPIOS (1<<28) -#define DEBUG_FREE_GPIOS (1<<29) -#define DEBUG_REQUEST_GPIOS_MATCH (1<<30) -#define DEBUG_VERIFY_GPIOS (1<<31) +#define DEBUG_BACKLIGHT (1 << 17) +#define DEBUG_READ (1 << 18) +#define DEBUG_WRITE (1 << 19) +#define DEBUG_WRITE_VMEM (1 << 20) +#define DEBUG_WRITE_REGISTER (1 << 21) +#define DEBUG_SET_ADDR_WIN (1 << 22) +#define DEBUG_RESET (1 << 23) +#define DEBUG_MKDIRTY (1 << 24) +#define DEBUG_UPDATE_DISPLAY (1 << 25) +#define DEBUG_INIT_DISPLAY (1 << 26) +#define DEBUG_BLANK (1 << 27) +#define DEBUG_REQUEST_GPIOS (1 << 28) +#define DEBUG_FREE_GPIOS (1 << 29) +#define DEBUG_REQUEST_GPIOS_MATCH (1 << 30) +#define DEBUG_VERIFY_GPIOS (1 << 31) #define fbtft_init_dbg(dev, format, arg...) \ do { \ --1.9.1
Quoted 2 lines
--
You received this message because you are subscribed to the GoogleGroups "outreachy-kernel" group.
Quoted 9 lines
Quoted 1 line
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
Quoted 2 lines
To post to this group, send email to [email protected]. To view this discussion on the web visit
https://groups.google.com/d/msgid/outreachy-kernel/20181003132917.GA29977%40armorer
.Quoted 2 lines
For more options, visit https://groups.google.com/d/optout.
--
Quoted 10 lines · Mamta Shukla
On Wed, Oct 3, 2018 at 7:10 PM Julia Lawall <[email protected]> wrote:
On Wed, 3 Oct 2018, Mamta Shukla wrote:
> Adding spaces around '<<' to fix checkpatch issue. > CHECK: spaces preferred around that '<<' (ctx:VxV)
Quoted 7 lines
>It looks like the BIT macro could actually be mre useful here.
>julia
Ok, I will make the change.
I need to write new patch, right? Because another version of this patch may conflict the subject.
That's true. Go ahead for a new patch.
julia
Quoted 108 lines
-Mamta
>
> Signed-off-by: Mamta Shukla <[email protected]>
> ---
>ᅵdrivers/staging/fbtft/fbtft.h| 56
+++++++++++++++++++++----------------------
>ᅵ 1 file changed, 28 insertions(+), 28 deletions(-)
>
> diff --gita/drivers/staging/fbtft/fbtft.h
b/drivers/staging/fbtft/fbtft.h
> index 25302ff..a3db23b 100644
> ---a/drivers/staging/fbtft/fbtft.h
> +++b/drivers/staging/fbtft/fbtft.h
> @@ -355,39 +355,39 @@ static void__exit
fbtft_driver_module_exit(void)ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ \
>ᅵ #define DEBUG_LEVEL_6ᅵ ᅵ ᅵ ᅵ (DEBUG_LEVEL_4|DEBUG_LEVEL_5)
>ᅵ #define DEBUG_LEVEL_7ᅵ ᅵ ᅵ ᅵ0xFFFFFFFF
>
> -#defineDEBUG_DRIVER_INIT_FUNCTIONS(1<<3)
> -#define DEBUG_TIME_FIRST_UPDATEᅵ ᅵ ᅵ(1<<4)
> -#define DEBUG_TIME_EACH_UPDATEᅵ ᅵ ᅵ (1<<5)
> -#define DEBUG_DEFERRED_IOᅵ ᅵ ᅵ ᅵ ᅵ ᅵ(1<<6)
> -#define DEBUG_FBTFT_INIT_FUNCTIONSᅵ (1<<7)
> +#define DEBUG_DRIVER_INIT_FUNCTIONSᅵ (1 << 3)
> +#define DEBUG_TIME_FIRST_UPDATEᅵ ᅵ ᅵ (1 << 4)
> +#define DEBUG_TIME_EACH_UPDATEᅵ ᅵ ᅵ ᅵ(1 << 5)
> +#define DEBUG_DEFERRED_IOᅵ ᅵ ᅵ ᅵ ᅵ ᅵ (1 << 6)
> +#define DEBUG_FBTFT_INIT_FUNCTIONSᅵ ᅵ(1 << 7)
>
>ᅵ /* fbops */
> -#define DEBUG_FB_READᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ(1<<8)
> -#define DEBUG_FB_WRITEᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ (1<<9)
> -#define DEBUG_FB_FILLRECTᅵ ᅵ ᅵ ᅵ ᅵ ᅵ(1<<10)
> -#define DEBUG_FB_COPYAREAᅵ ᅵ ᅵ ᅵ ᅵ ᅵ(1<<11)
> -#define DEBUG_FB_IMAGEBLITᅵ ᅵ ᅵ ᅵ ᅵ (1<<12)
> -#define DEBUG_FB_SETCOLREGᅵ ᅵ ᅵ ᅵ ᅵ (1<<13)
> -#define DEBUG_FB_BLANKᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ (1<<14)
> +#define DEBUG_FB_READᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ (1 << 8)
> +#define DEBUG_FB_WRITEᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ(1 << 9)
> +#define DEBUG_FB_FILLRECTᅵ ᅵ ᅵ ᅵ ᅵ ᅵ (1 << 10)
> +#define DEBUG_FB_COPYAREAᅵ ᅵ ᅵ ᅵ ᅵ ᅵ (1 << 11)
> +#define DEBUG_FB_IMAGEBLITᅵ ᅵ ᅵ ᅵ ᅵ ᅵ(1 << 12)
> +#define DEBUG_FB_SETCOLREGᅵ ᅵ ᅵ ᅵ ᅵ ᅵ(1 << 13)
> +#define DEBUG_FB_BLANKᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ(1 << 14)
>
> -#define DEBUG_SYSFSᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ(1<<16)
> +#define DEBUG_SYSFSᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ (1 << 16)
>
>ᅵ /* fbtftops */
> -#define DEBUG_BACKLIGHTᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ(1<<17)
> -#define DEBUG_READᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ (1<<18)
> -#define DEBUG_WRITEᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ(1<<19)
> -#define DEBUG_WRITE_VMEMᅵ ᅵ ᅵ ᅵ ᅵ ᅵ (1<<20)
> -#define DEBUG_WRITE_REGISTERᅵ ᅵ ᅵ ᅵ (1<<21)
> -#define DEBUG_SET_ADDR_WINᅵ ᅵ ᅵ ᅵ ᅵ (1<<22)
> -#define DEBUG_RESETᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ(1<<23)
> -#define DEBUG_MKDIRTYᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ(1<<24)
> -#define DEBUG_UPDATE_DISPLAYᅵ ᅵ ᅵ ᅵ (1<<25)
> -#define DEBUG_INIT_DISPLAYᅵ ᅵ ᅵ ᅵ ᅵ (1<<26)
> -#define DEBUG_BLANKᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ(1<<27)
> -#define DEBUG_REQUEST_GPIOSᅵ ᅵ ᅵ ᅵ ᅵ(1<<28)
> -#define DEBUG_FREE_GPIOSᅵ ᅵ ᅵ ᅵ ᅵ ᅵ (1<<29)
> -#define DEBUG_REQUEST_GPIOS_MATCHᅵ ᅵ(1<<30)
> -#define DEBUG_VERIFY_GPIOSᅵ ᅵ ᅵ ᅵ ᅵ (1<<31)
> +#define DEBUG_BACKLIGHTᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ (1 << 17)
> +#define DEBUG_READᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ(1 << 18)
> +#define DEBUG_WRITEᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ (1 << 19)
> +#define DEBUG_WRITE_VMEMᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ(1 << 20)
> +#define DEBUG_WRITE_REGISTERᅵ ᅵ ᅵ ᅵ ᅵ(1 << 21)
> +#define DEBUG_SET_ADDR_WINᅵ ᅵ ᅵ ᅵ ᅵ ᅵ(1 << 22)
> +#define DEBUG_RESETᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ (1 << 23)
> +#define DEBUG_MKDIRTYᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ (1 << 24)
> +#define DEBUG_UPDATE_DISPLAYᅵ ᅵ ᅵ ᅵ ᅵ(1 << 25)
> +#define DEBUG_INIT_DISPLAYᅵ ᅵ ᅵ ᅵ ᅵ ᅵ(1 << 26)
> +#define DEBUG_BLANKᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ (1 << 27)
> +#define DEBUG_REQUEST_GPIOSᅵ ᅵ ᅵ ᅵ ᅵ (1 << 28)
> +#define DEBUG_FREE_GPIOSᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ(1 << 29)
> +#define DEBUG_REQUEST_GPIOS_MATCHᅵ ᅵ (1 << 30)
> +#define DEBUG_VERIFY_GPIOSᅵ ᅵ ᅵ ᅵ ᅵ ᅵ(1 << 31)
>
>ᅵ #definefbtft_init_dbg(dev, format, arg...)ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ
\
>ᅵ do {ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ\
> --
> 1.9.1
>
> --
> You received this message because you are subscribed to the
Google Groups "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from
it, send an email to
[email protected].
> To post to this group, send email to
[email protected].
> To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/20181003132917.GA29977%4 0armorer.
> For more options, visit https://groups.google.com/d/optout.
>--