[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190323.214919.206895281212558990.davem@davemloft.net>
Date: Sat, 23 Mar 2019 21:49:19 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: dhowells@...hat.com, clang-built-linux@...glegroups.com,
ndesaulniers@...gle.com, natechancellor@...il.com,
yuehaibing@...wei.com, linux-afs@...ts.infradead.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rxrpc: avoid clang -Wuninitialized warning
From: Arnd Bergmann <arnd@...db.de>
Date: Fri, 22 Mar 2019 15:18:43 +0100
> clang produces a false-positive warning as it fails to notice
> that "lost = true" implies that "ret" is initialized:
...
> Rearrange the code to make that more obvious and avoid the warning.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Applied.
Powered by blists - more mailing lists