* [PATCH] staging: fbtft: fbtft-bus: remove trailing space in macro calls
@ 2026-07-01 10:42 Ruziev Miraly
2026-07-07 9:22 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Ruziev Miraly @ 2026-07-01 10:42 UTC (permalink / raw)
To: gregkh, linux-staging; +Cc: linux-kernel, Ruziev Miraly
Remove prohibited trailing spaces before closing parentheses in
define_fbtft_write_reg() macro invocations to fix checkpatch errors.
Signed-off-by: Ruziev Miraly <miraly.dev@gmail.com>
---
drivers/staging/fbtft/fbtft-bus.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/fbtft/fbtft-bus.c b/drivers/staging/fbtft/fbtft-bus.c
index 30e436ff1..409770891 100644
--- a/drivers/staging/fbtft/fbtft-bus.c
+++ b/drivers/staging/fbtft/fbtft-bus.c
@@ -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, ...)
{
--
2.54.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] staging: fbtft: fbtft-bus: remove trailing space in macro calls
2026-07-01 10:42 [PATCH] staging: fbtft: fbtft-bus: remove trailing space in macro calls Ruziev Miraly
@ 2026-07-07 9:22 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2026-07-07 9:22 UTC (permalink / raw)
To: Ruziev Miraly; +Cc: linux-staging, linux-kernel
On Wed, Jul 01, 2026 at 03:42:05PM +0500, Ruziev Miraly wrote:
> Remove prohibited trailing spaces before closing parentheses in
> define_fbtft_write_reg() macro invocations to fix checkpatch errors.
>
> Signed-off-by: Ruziev Miraly <miraly.dev@gmail.com>
> ---
> drivers/staging/fbtft/fbtft-bus.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/fbtft/fbtft-bus.c b/drivers/staging/fbtft/fbtft-bus.c
> index 30e436ff1..409770891 100644
> --- a/drivers/staging/fbtft/fbtft-bus.c
> +++ b/drivers/staging/fbtft/fbtft-bus.c
> @@ -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, ...)
> {
> --
> 2.54.0
>
This is not correct, the original code is correct.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-07-07 9:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-01 10:42 [PATCH] staging: fbtft: fbtft-bus: remove trailing space in macro calls Ruziev Miraly
2026-07-07 9:22 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox