Re: [PATCH 8/8] drivers/net/ixgbe: Fix uninitialized warning
From: Remy Horton <hidden>
Date: 2016-03-10 14:45:42
From: Remy Horton <hidden>
Date: 2016-03-10 14:45:42
On 10/03/2016 13:42, Panu Matilainen wrote:
On 02/25/2016 08:48 PM, Aaron Conole wrote:quoted
Silence a compiler warning that this variable may be used uninitialized. Signed-off-by: Aaron Conole <aconole@redhat.com>
[..]
The patch looks ok as such, but then again warning looks like a false positive to me: assignment and dereferencing depend on the same value of eop, which cannot change between the two.
In two minds about this. It is a logical impossibility, but these days optimising compilers are getting very aggressive. For instance GCC has a delightfully-named -fdelete-null-pointer-checks option, which caused security holes.. ..Remy