staging: fbtft: Fix "space prohibited before that close parenthesis ')'" error reported by checkpatch
Subsystems (3)
PATCH 1/1 staging: fbtft: Fix "space prohibited before that close parenthesis ')'" error reported by checkpatch
From: Kyoji Ogasawara <[email protected]>
Since whitespace is prohibited before that close parenthesis ')' in a conditional statements, remove it and fix checkpatch.pl error "space prohibited before that close parenthesis ')'".
--- drivers/staging/fbtft/fbtft-bus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/fbtft/fbtft-bus.c +2 -2
@@ -62,9 +62,9 @@ out: \ } \EXPORT_SYMBOL (func); -define_fbtft_write_reg(fbtft_write_reg8_bus8, u8, u8, ) +define_fbtft_write_reg(fbtft_write_reg8_bus8, u8, u8) define_fbtft_write_reg(fbtft_write_reg16_bus8, __be16, u16, cpu_to_be16) -define_fbtft_write_reg(fbtft_write_reg16_bus16, u16, u16, ) +define_fbtft_write_reg(fbtft_write_reg16_bus16, u16, u16)void fbtft_write_reg8_bus9 (struct fbtft_par *par,int len, ...) {
Signature · 1 line
2.39.3
Quoted 7 lines · On Wed, Feb 21, 2024 at 06:54:04PM +0900, [email protected] wrote:
From: Kyoji Ogasawara <[email protected]>
Since whitespace is prohibited before that close parenthesis ')' in a conditional statements, remove it and fix checkpatch.pl error "space prohibited before that close parenthesis ')'".
Signed-off-by Kyoji Ogasawara <[email protected]>
This breaks the build. You could do a search for it.
https://lore.kernel.org/all/?q=define_fbtft_write_reg
regards,
dan carpenter
Quoted 3 lines
This breaks the build. You could do a search for it.
I understand. Thanks for letting me know.
2024年2月21日(水) 19:18 Dan Carpenter <[email protected]>:
Quoted 18 lines · On Wed, Feb 21, 2024 at 06:54:04PM +0900, [email protected] wrote:
Quoted 4 lines
From: Kyoji Ogasawara <[email protected]>
Since whitespace is prohibited before that close parenthesis ')' in a conditional statements, remove it and fix checkpatch.pl error "space
prohibited before that
Quoted 3 lines
close parenthesis ')'".
Signed-off-by Kyoji Ogasawara <[email protected]>This breaks the build. You could do a search for it.
https://lore.kernel.org/all/?q=define_fbtft_write_reg
regards,
dan carpenter