[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cce06da2-8e98-4b51-b363-bf3e368e49ef@suse.com>
Date: Sun, 31 Mar 2024 19:03:20 +0200
From: Oliver Neukum <oneukum@...e.com>
To: Sai Krishna Gajula <saikrishnag@...vell.com>,
Oliver Neukum <oneukum@...e.com>, "davem@...emloft.net"
<davem@...emloft.net>, "edumazet@...gle.com" <edumazet@...gle.com>,
"kuba@...nel.org" <kuba@...nel.org>, "pabeni@...hat.com"
<pabeni@...hat.com>, "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Cc: "syzbot+9665bf55b1c828bbcd8a@...kaller.appspotmail.com"
<syzbot+9665bf55b1c828bbcd8a@...kaller.appspotmail.com>
Subject: Re: [PATCH net-next] usbnet: fix cyclical race on disconnect with
work queue
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
Powered by blists - more mailing lists