From: Ferruh Yigit Subject: Re: [PATCH v3 02/32] qede/base: formatting changes Date: Mon, 17 Oct 2016 17:28:29 +0100 Message-ID: <64b17ffa-4405-98d4-29fc-180d45e74048@intel.com> References: <1476562089-21823-1-git-send-email-rasesh.mody@qlogic.com> <1476562089-21823-3-git-send-email-rasesh.mody@qlogic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org, Dept-EngDPDKDev@qlogic.com To: Rasesh Mody , thomas.monjalon@6wind.com, bruce.richardson@intel.com Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 92B075589 for ; Mon, 17 Oct 2016 18:28:32 +0200 (CEST) In-Reply-To: <1476562089-21823-3-git-send-email-rasesh.mody@qlogic.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" Hi Rasesh, On 10/15/2016 9:07 PM, Rasesh Mody wrote: > Fixes white spaces and tabs. > > Signed-off-by: Rasesh Mody > --- When testing patch by patch compilation, applying this patch gives following build error, the build error disappears after patch 12/32. It should successfully compile after each patch, can you please fix this? Build error: .../drivers/net/qede/base/ecore_sp_commands.c: In function ‘ecore_sp_pf_update_tunn_cfg’: .../drivers/net/qede/base/ecore_sp_commands.c:473:2: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] if (p_tunn->update_geneve_udp_port) ^~ .../drivers/net/qede/base/ecore_sp_commands.c:477:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ ecore_set_hw_tunn_mode(p_hwfn, p_hwfn->p_main_ptt, ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[10]: *** [base/ecore_sp_commands.o] Error 1 make[10]: *** Waiting for unfinished jobs.... .../drivers/net/qede/base/ecore_spq.c: In function ‘ecore_spq_add_entry’: .../drivers/net/qede/base/ecore_spq.c:628:3: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] if (p_ent->comp_cb.cookie == &p_ent->comp_done) ^~ .../drivers/net/qede/base/ecore_spq.c:631:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ *p_en2 = *p_ent; ^ cc1: all warnings being treated as errors Thanks, ferruh