[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dbdcff01-3c46-47f2-b2db-54f16facc7db@gmail.com>
Date: Wed, 12 Feb 2025 19:54:16 +0530
From: Purva Yeshi <purvayeshi550@...il.com>
To: Kuniyuki Iwashima <kuniyu@...zon.com>
Cc: davem@...emloft.net, edumazet@...gle.com, horms@...nel.org,
kuba@...nel.org, linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
pabeni@...hat.com, skhan@...uxfoundation.org
Subject: Re: [PATCH net-next v2] af_unix: Fix undefined 'other' error
On 11/02/25 06:02, Kuniyuki Iwashima wrote:
> From: Purva Yeshi <purvayeshi550@...il.com>
> Date: Mon, 10 Feb 2025 13:20:06 +0530
>> Fix issue detected by smatch tool:
>> An "undefined 'other'" error occur in __releases() annotation.
>>
>> Fix an undefined 'other' error in unix_wait_for_peer() caused by
>> __releases(&unix_sk(other)->lock) being placed before 'other' is in
>> scope. Since AF_UNIX does not use Sparse annotations, remove it to fix
>> the issue.
>>
>> Eliminate the error without affecting functionality.
>
> The 5 lines of the 3 sentences above have trailing double spaces.
> You may want to configure your editor to highlight them.
>
> e.g. for emacs
>
> (setq-default show-trailing-whitespace t)
Thank you for pointing that out. I will ensure to check for such
issues before submitting future patches.
>
>
>>
>> Signed-off-by: Purva Yeshi <purvayeshi550@...il.com>
>
> Otherwise looks good.
>
> Reviewed-by: Kuniyuki Iwashima <kuniyu@...zon.com>
Thank you.
Best regards,
Purva Yeshi
Powered by blists - more mailing lists