From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id EFC76A00E6 for ; Thu, 16 May 2019 20:22:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E73285B12; Thu, 16 May 2019 20:22:27 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 0EACA5B12 for ; Thu, 16 May 2019 20:22:27 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7163030018F6; Thu, 16 May 2019 18:22:16 +0000 (UTC) Received: from rh.redhat.com (ovpn-116-124.ams2.redhat.com [10.36.116.124]) by smtp.corp.redhat.com (Postfix) with ESMTP id 277F060FAF; Thu, 16 May 2019 18:22:14 +0000 (UTC) From: Kevin Traynor To: stable@dpdk.org Cc: bruce.richardson@intel.com, reshma.pattan@intel.com, Kevin Traynor Date: Thu, 16 May 2019 19:21:56 +0100 Message-Id: <20190516182157.32128-3-ktraynor@redhat.com> In-Reply-To: <20190516182157.32128-1-ktraynor@redhat.com> References: <20190516182157.32128-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Thu, 16 May 2019 18:22:16 +0000 (UTC) Subject: [dpdk-stable] [PATCH 18.11 2/3] bus/fslmc: fix warning with GCC 9 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Printing a null pointer with %s is flagged as a warning by GCC 9, and should not be done. Replace the %s with the word "null" itself. This is an additional GCC 9 fix required for dpdk-stable. Fixes: 50245be05d1a ("bus/fslmc: support device blacklisting") Signed-off-by: Kevin Traynor --- drivers/bus/fslmc/fslmc_bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c index 9ee1bf862..776b7caad 100644 --- a/drivers/bus/fslmc/fslmc_bus.c +++ b/drivers/bus/fslmc/fslmc_bus.c @@ -253,5 +253,5 @@ rte_fslmc_parse(const char *name, void *addr) t_ptr = strchr(name, '.'); if (!t_ptr) { - DPAA2_BUS_ERR("Incorrect device string observed (%s)", t_ptr); + DPAA2_BUS_ERR("Incorrect device string observed (null)"); goto err_out; } -- 2.20.1