[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <07564e3e-35d4-c5d4-fc1a-8a0e8659604e@redhat.com>
Date: Wed, 6 Jan 2021 12:38:44 -0800
From: Tom Rix <trix@...hat.com>
To: David Howells <dhowells@...hat.com>
Cc: davem@...emloft.net, kuba@...nel.org, natechancellor@...il.com,
ndesaulniers@...gle.com, linux-afs@...ts.infradead.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
clang-built-linux@...glegroups.com
Subject: Re: [PATCH] rxrpc: fix handling of an unsupported token type in
rxrpc_read()
On 1/6/21 11:44 AM, David Howells wrote:
> Tom Rix <trix@...hat.com> wrote:
>
>> These two loops iterate over the same data, i believe returning here is all
>> that is needed.
> But if the first loop is made to support a new type, but the second loop is
> missed, it will then likely oops. Besides, the compiler should optimise both
> paths together.
You are right, I was only considering the existing cases.
Tom
> David
>
Powered by blists - more mailing lists