From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id EB78BA00C2; Fri, 11 Mar 2022 21:05:49 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0EA5141152; Fri, 11 Mar 2022 21:05:35 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 8C74440E78 for ; Fri, 11 Mar 2022 21:05:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647029133; x=1678565133; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=H3irUj6K9PAXOP0xBNIrOvdMfK1OACIJkABNXOM0o4c=; b=QFn1zXXFPVGw4T0RiPVJUq3tKTQWuUwzjIS+lH8c+okYtyETjs9lroIN LX2s3tbFzh2IjOFsHUnmYJuYn/aht6Z3zqIrYFHT+sxEDGM/pr7vLRKXj ihbcPdcZA01cKcKTTUFDRT9j+eE+GhBSxYWXZWY2D2iGVJWFsGv2I3KlH E9mSbBfUdT0at68rLWAzcnl46IQviO6vj9uldB7j+QJD6HgqOKN3Ks4yv CTGyr0kV0eNnnQ0GbqwrTSu7SkZkPcf2TB/kbSpxcL5cRYmAVEONXCJAm NNxUDQSjn4Armh9YiqOt3piaI5tHlMOBhLfXYI0bMyd9KFy9E3yK54UII w==; X-IronPort-AV: E=McAfee;i="6200,9189,10283"; a="253207386" X-IronPort-AV: E=Sophos;i="5.90,174,1643702400"; d="scan'208";a="253207386" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2022 12:05:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,174,1643702400"; d="scan'208";a="555444793" Received: from silpixa00399126.ir.intel.com ([10.237.223.34]) by orsmga008.jf.intel.com with ESMTP; 11 Mar 2022 12:05:30 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson , fiona.trahe@intel.com Subject: [PATCH 3/5] compressdev: fix missing space in header Date: Fri, 11 Mar 2022 20:05:21 +0000 Message-Id: <20220311200523.1020050-4-bruce.richardson@intel.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220311200523.1020050-1-bruce.richardson@intel.com> References: <20220311200523.1020050-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Building with clang on FreeBSD with chkincs enabled, we get the following error about a missing space: ../lib/compressdev/rte_compressdev_internal.h:25:58: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] rte_log(RTE_LOG_ ## level, compressdev_logtype, "%s(): "fmt "\n", \ Adding in a space between the '"' and 'fmt' removes the error. Fixes: ed7dd94f7f66 ("compressdev: add basic device management") Cc: fiona.trahe@intel.com Signed-off-by: Bruce Richardson --- lib/compressdev/rte_compressdev_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compressdev/rte_compressdev_internal.h b/lib/compressdev/rte_compressdev_internal.h index 25d8afbfb9..b3b193e3ee 100644 --- a/lib/compressdev/rte_compressdev_internal.h +++ b/lib/compressdev/rte_compressdev_internal.h @@ -22,7 +22,7 @@ extern "C" { /* Logging Macros */ extern int compressdev_logtype; #define COMPRESSDEV_LOG(level, fmt, args...) \ - rte_log(RTE_LOG_ ## level, compressdev_logtype, "%s(): "fmt "\n", \ + rte_log(RTE_LOG_ ## level, compressdev_logtype, "%s(): " fmt "\n", \ __func__, ##args) /** -- 2.34.1