From: Ferruh Yigit Subject: Re: [dpdk-stable] [PATCH] net/tap: fix icc build Date: Tue, 24 Apr 2018 18:05:08 +0100 Message-ID: References: <20180312193134.219899-1-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" , "stable@dpdk.org" To: "De Lara Guarch, Pablo" , Pascal Mazon Return-path: In-Reply-To: Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 4/24/2018 2:21 PM, De Lara Guarch, Pablo wrote: > > >> -----Original Message----- >> From: stable [mailto:stable-bounces@dpdk.org] On Behalf Of Ferruh Yigit >> Sent: Monday, March 12, 2018 7:32 PM >> To: Pascal Mazon >> Cc: dev@dpdk.org; Yigit, Ferruh ; stable@dpdk.org >> Subject: [dpdk-stable] [PATCH] net/tap: fix icc build >> >> build error: >> .../dpdk/drivers/net/tap/rte_eth_tap.c(598): >> error #279: controlling expression is constant >> RTE_ASSERT(!"unsupported request type: must not happen"); >> >> Although RTE_ASSERT helps debugging this issue when assert enabled, constant >> expression in assert means this path can be taken during runtime and there is no >> protection against it when assert is disabled. >> >> Adding error log and error return back, replacing RTE_ASSERT. >> >> Fixes: 7748a4b44196 ("net/tap: add debug messages") >> Cc: stable@dpdk.org >> >> Signed-off-by: Ferruh Yigit > > Acked-by: Pablo de Lara Applied to dpdk-next-net/master, thanks.