From mboxrd@z Thu Jan 1 00:00:00 1970 From: Remy Horton Subject: Re: [PATCH 8/8] drivers/net/ixgbe: Fix uninitialized warning Date: Thu, 10 Mar 2016 14:45:40 +0000 Message-ID: <56E18894.6020409@intel.com> References: <1456426121-21423-1-git-send-email-aconole@redhat.com> <1456426121-21423-9-git-send-email-aconole@redhat.com> <56E179E2.1020704@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: dev@dpdk.org Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 65B633195 for ; Thu, 10 Mar 2016 15:45:42 +0100 (CET) In-Reply-To: <56E179E2.1020704@redhat.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 10/03/2016 13:42, Panu Matilainen wrote: > On 02/25/2016 08:48 PM, Aaron Conole wrote: >> Silence a compiler warning that this variable may be used uninitialized. >> >> Signed-off-by: Aaron Conole [..] > > 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