From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 12C1CA00E6 for ; Wed, 7 Aug 2019 10:29:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ED49334F2; Wed, 7 Aug 2019 10:29:46 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id EB1373423 for ; Wed, 7 Aug 2019 10:29:45 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6E8DD2201F; Wed, 7 Aug 2019 04:29:43 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 07 Aug 2019 04:29:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=nQKbToVgmE/JvOPxlk3DRRY+qZ8zkDKU0J1SgQtyIxk=; b=rq9i4TFFQdFL g+eamYDgP11oq+3BR0U3aYZmN4SeQ6ZknYHzVTVLOgOWgnfzCf2/B9vg9hoFitBu GrGsYpV+qRSjaQuX8Z8fnya83h0kuj1s0TtBpm8sESANqbjG94S/2ejOXgUrim41 k1VzTWxEBl6ZAZJEWopWUbXRGekCDPo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=nQKbToVgmE/JvOPxlk3DRRY+qZ8zkDKU0J1SgQtyI xk=; b=CYLZBw2+hFnmaEAIi91IP9W4QKSXz0POxWfrnkGiVuB6OZzCYMydgTcZT H3v++JMY20M1CryqOvwIWOZD4hVmaCpjOkdwoTz8r6vCJdp6IFZgCKyxNyz0nLqh qRv4I6NxhEhQAhMHXDlLx3PARCeOAlhdwhrrbSX4Bu/Yo9trKtHUHaiLmH9SCnPZ jUQz02FBHhMH62+9Rp5fkm+Kv9TCrI/LfCr5V1jPLW8ONwlG0thtkoz7KFEEFPMZ MlsmEPyJPlbsibh3yYI/op0AFMlbH0CAQXVHRNWTVn2MIuMxSuhtkHDiMj9hNTAp rMQgYmXygWejTN5mroTdgu6x3euzQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudduvddgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeelfedriedrudegledruddugeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhm rghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (114.149.6.93.rev.sfr.net [93.6.149.114]) by mail.messagingengine.com (Postfix) with ESMTPA id EB04C80086; Wed, 7 Aug 2019 04:28:56 -0400 (EDT) From: Thomas Monjalon To: jerinj@marvell.com Cc: dev@dpdk.org, Jakub Grajciar Date: Wed, 07 Aug 2019 10:28:47 +0200 Message-ID: <60209757.iF0osH7Uzt@xps> In-Reply-To: <20190807031134.23120-1-jerinj@marvell.com> References: <20190807031134.23120-1-jerinj@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] net/memif: fix build error with gcc 9.1 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 07/08/2019 05:11, jerinj@marvell.com: > From: Jerin Jacob > > gcc-9 stricter on NULL arguments for printf. > Fix the following build error by avoiding NULL argument to printf. > > In file included from drivers/net/memif/memif_socket.c:26: > In function 'memif_socket_create', > inlined from 'memif_socket_init' at net/memif/memif_socket.c:965:12: > net/memif/rte_eth_memif.h:35:2: error: '%s' directive argument is null > [-Werror=format-overflow=] > 35 | rte_log(RTE_LOG_ ## level, memif_logtype, \ > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 36 | "%s(): " fmt "\n", __func__, ##args) > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Fixes: 09c7e63a71f9 ("net/memif: introduce memory interface PMD") > > Signed-off-by: Jerin Jacob Applied, thanks