[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e635a380-0954-2de3-838a-0e353f756b87@oracle.com>
Date: Tue, 27 Jul 2021 05:31:13 +0530
From: Harshvardhan Jha <harshvardhan.jha@...cle.com>
To: asmadeus@...ewreck.org, Stefano Stabellini <sstabellini@...nel.org>
Cc: ericvh@...il.com, lucho@...kov.net, davem@...emloft.net,
kuba@...nel.org, v9fs-developer@...ts.sourceforge.net,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [External] : Re: [PATCH] 9p/xen: Fix end of loop tests for
list_for_each_entry
On 27/07/21 5:29 am, asmadeus@...ewreck.org wrote:
> Stefano Stabellini wrote on Mon, Jul 26, 2021 at 04:54:29PM -0700:
>>>> Yes, I did test it successfully. Aside from the commit messaged to be
>>>> reworded:
>>> How's this?
>>> ===========================BEGIN========================================
>>> 9p/xen: Fix end of loop tests for list_for_each_entry
>>>
>>> This patch addresses the following problems:
>>> - priv can never be NULL, so this part of the check is useless
>>> - if the loop ran through the whole list, priv->client is invalid and
>>> it is more appropriate and sufficient to check for the end of
>>> list_for_each_entry loop condition.
>>>
>>> Signed-off-by: Harshvardhan Jha <harshvardhan.jha@...cle.com>
>
> Will take the patch with this text as commit message later tonight
If you want I can resend the patch with this commit message
>
>
>>>> Reviewed-by: Stefano Stabellini <sstabellini@...nel.org>
>>>> Tested-by: Stefano Stabellini <sstabellini@...nel.org>
>
> Thanks for the test!
>
Powered by blists - more mailing lists