Re: [PATCH net-next] usbnet: fix cyclical race on disconnect with work queue

From: Oliver Neukum
Date: Sun Mar 31 2024 - 13:24:57 EST




On 31.03.24 14:07, Sai Krishna Gajula wrote:
--- a/drivers/net/usb/usbnet.c
+++ b/drivers/net/usb/usbnet.c
@@ -467,10 +467,12 @@ static enum skb_state defer_bh(struct usbnet
*dev, struct sk_buff *skb, void usbnet_defer_kevent (struct usbnet
*dev, int work)

space prohibited between function name and open parenthesis '('

I am sorry, but this is the context of the diff. You are not suggesting to mix
gratitious format changes into a bug fix, are you?

Checkpatch does a primary check and triggered warning if we use space between fn name and '('. It is advisable to follow the upstreaming process steps(clean checkpatch output) to have uniformity across patches. Also check comments from Gregkh bot regarding this patch.

Hi,

at the risk of repeating myself:

This is a very old driver written long before these conventions.
I did not introduce these spaces. Nevertheless, a format change
has no place in a bug fix.

Regards
Oliver