Cleaned up code to resolve the checkpatch error
ERROR: space prohibited before that close parenthesis ')'
from the file:
fbtft/fbtft-bus.c
Signed-off-by: Shobhit Kukreti <redacted>
---
drivers/staging/fbtft/fbtft-bus.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
On Thu, Jun 13, 2019 at 07:32:28PM -0700, Shobhit Kukreti wrote:
quoted hunk
Cleaned up code to resolve the checkpatch error
ERROR: space prohibited before that close parenthesis ')'
from the file:
fbtft/fbtft-bus.c
Signed-off-by: Shobhit Kukreti <redacted>
---
drivers/staging/fbtft/fbtft-bus.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
On Sat, Jun 15, 2019 at 07:33:02PM +0200, Greg Kroah-Hartman wrote:
On Thu, Jun 13, 2019 at 07:32:28PM -0700, Shobhit Kukreti wrote:
quoted
Cleaned up code to resolve the checkpatch error
ERROR: space prohibited before that close parenthesis ')'
from the file:
fbtft/fbtft-bus.c
Signed-off-by: Shobhit Kukreti <redacted>
---
drivers/staging/fbtft/fbtft-bus.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Will this still build? I thought I remember some old versions of gcc
not liking this...
I was able to build it with Ubuntu/Linaro GCC-5.4.0
Did you test this patch out?
I booted the kernel on qemu-2.12 and insmod of fbtft drivers did not
return any errors. I did not test on actual display hardware.
If that is mandatory, I can drop the patch.
thanks,
greg k-h
Thank you for your patience and feedback.
Shobhit Kukreti
... as the space is the (mandatory) separator between the comma and the
(empty) last parameter value.
Checkpatch has some limitations when parsing the C preprocessor macro
languagage.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds