Re: [PATCH] staging: fbtft: fix spacing before close parenthesis

From: Andy Shevchenko

Date: Mon Apr 13 2026 - 03:00:47 EST


On Mon, Apr 13, 2026 at 9:58 AM Arjun Changla <arjunchangla7@xxxxxxxxx> wrote:
>
>
>
> On Thu, 18 Dec 2025 at 11:50, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>>
>> On Thu, Dec 18, 2025 at 06:14:06AM +0000, Arjun Changla wrote:
>> > Fix checkpatch error "space prohibited before that close parenthesis"
>> > on line 65 by removing the extra space.
>> >
>> > Signed-off-by: Arjun Changla <arjunchangla7@xxxxxxxxx>
>> > ---
>> > drivers/staging/fbtft/fbtft-bus.c | 2 +-
>> > 1 file changed, 1 insertion(+), 1 deletion(-)
>> >
>> > diff --git a/drivers/staging/fbtft/fbtft-bus.c b/drivers/staging/fbtft/fbtft-bus.c
>> > index 30e436ff19e4..2f7c891177fb 100644
>> > --- a/drivers/staging/fbtft/fbtft-bus.c
>> > +++ b/drivers/staging/fbtft/fbtft-bus.c
>> > @@ -62,7 +62,7 @@ out: \
>> > } \
>> > EXPORT_SYMBOL(func);
>> >
>> > -define_fbtft_write_reg(fbtft_write_reg8_bus8, u8, u8, )
>> > +define_fbtft_write_reg(fbtft_write_reg8_bus8, u8, u8)
>>
>> But you just changed the function definition, does this still work now?
>> If so, how?
>>
>> confused,
>>
>> greg k-h
>
>
> Hi Greg,
>
> Thank you for the review. The change only removes extra spacing in
> the function parameter - no functional changes were made.
>
> Before:
> const struct ia_css_output1_configuration *from ,
>
> After:
> const struct ia_css_output1_configuration *from,
>
> I verified the module builds successfully with no errors:
> make M=drivers/staging/fbtft

What are you talking about?
The original patch we are discussing is totally wrong. Please, compile
the code before submitting.

--
With Best Regards,
Andy Shevchenko