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 DF9D7A00BE; Thu, 31 Oct 2019 06:36:46 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9E6E81BF80; Thu, 31 Oct 2019 06:36:46 +0100 (CET) Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) by dpdk.org (Postfix) with ESMTP id 55C302BAA for ; Thu, 31 Oct 2019 06:36:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=899; q=dns/txt; s=iport; t=1572500205; x=1573709805; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=C+k9xznvZQ3Y6xnqbwOkCcXJzhvn2ODNil8sovLk10Y=; b=a622oAvsayQJj7HyW7TN7E/XRYvx0GT2K/i2bUT12sFBT37ebzaf1hIp g8MmZoOFjl7THBUyUfnz8gES0xCPG//7aWEzq7cqlrZ3fSuuMP1Tp2jEp Bg+D1KKoZdWuJm8yjNXzlDWUFXDucpPio6LgYhFh5FtGXuoZTMmeIt0/W I=; X-IronPort-AV: E=Sophos;i="5.68,250,1569283200"; d="scan'208";a="368953524" Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 31 Oct 2019 05:36:44 +0000 Received: from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48]) by rcdn-core-4.cisco.com (8.15.2/8.15.2) with ESMTP id x9V5ai33017206; Thu, 31 Oct 2019 05:36:44 GMT Received: by cisco.com (Postfix, from userid 508933) id EBF7E20F2003; Wed, 30 Oct 2019 22:36:43 -0700 (PDT) From: Hyong Youb Kim To: Ferruh Yigit Cc: dev@dpdk.org, John Daley , Hyong Youb Kim Date: Wed, 30 Oct 2019 22:36:21 -0700 Message-Id: <20191031053623.16185-2-hyonkim@cisco.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20191031053623.16185-1-hyonkim@cisco.com> References: <20191031053623.16185-1-hyonkim@cisco.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Outbound-SMTP-Client: 10.193.184.48, savbu-usnic-a.cisco.com X-Outbound-Node: rcdn-core-4.cisco.com Subject: [dpdk-dev] [PATCH 1/3] net/enic: fix whitespaces in log macros 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" Add a space between the function name and message. Fixes: bbd8ecc05434 ("net/enic: remove PMD log type references") Signed-off-by: Hyong Youb Kim Reviewed-by: John Daley --- drivers/net/enic/enic_compat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/enic/enic_compat.h b/drivers/net/enic/enic_compat.h index bf9e998a6..bdf4edcab 100644 --- a/drivers/net/enic/enic_compat.h +++ b/drivers/net/enic/enic_compat.h @@ -60,8 +60,8 @@ extern int enic_pmd_logtype; #define ENICPMD_LOG(level, fmt, args...) \ rte_log(RTE_LOG_ ## level, enic_pmd_logtype, \ - "%s" fmt "\n", __func__, ##args) -#define ENICPMD_FUNC_TRACE() ENICPMD_LOG(DEBUG, " >>") + "%s " fmt "\n", __func__, ##args) +#define ENICPMD_FUNC_TRACE() ENICPMD_LOG(DEBUG, ">>") #define __le16 u16 #define __le32 u32 -- 2.22.0