mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] staging: fbtft: fbtft-bus: remove space before close parenthesis
@ 2026-09-21 18:33 UgwuRhema
  2026-09-22  9:04 ` Andy Shevchenko
  0 siblings, 1 reply; 2+ messages in thread
From: UgwuRhema @ 2026-09-21 18:33 UTC (permalink / raw)
  To: gregkh
  Cc: Andy Shevchenko, dri-devel, linux-fbdev, linux-staging, linux-kernel

Fix checkpatch.pl errors regarding prohibited spaces before closing
parentheses in fbtft-bus.c while retaining trailing commas required
by macro definitions.

Signed-off-by: UgwuRhema <hikarialiyev@gmail.com>
---
v2: Keep trailing commas in define_fbtft_write_reg invocations to prevent
    preprocessor build errors from missing macro arguments.
---
 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..38697992f 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.55.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] staging: fbtft: fbtft-bus: remove space before close parenthesis
  2026-09-21 18:33 [PATCH v2] staging: fbtft: fbtft-bus: remove space before close parenthesis UgwuRhema
@ 2026-09-22  9:04 ` Andy Shevchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2026-09-22  9:04 UTC (permalink / raw)
  To: UgwuRhema
  Cc: gregkh, Andy Shevchenko, dri-devel, linux-fbdev, linux-staging,
	linux-kernel

On Mon, Sep 21, 2026 at 8:33 PM UgwuRhema <hikarialiyev@gmail.com> wrote:
>
> Fix checkpatch.pl errors regarding prohibited spaces before closing
> parentheses in fbtft-bus.c while retaining trailing commas required
> by macro definitions.

It makes no sense. It's a false positive of checkpatch.

-- 
With Best Regards,
Andy Shevchenko

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-22  9:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21 18:33 [PATCH v2] staging: fbtft: fbtft-bus: remove space before close parenthesis UgwuRhema
2026-09-22  9:04 ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®