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 D1A5AA00C4; Thu, 29 Sep 2022 12:27:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7954240694; Thu, 29 Sep 2022 12:27:18 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 719A140395 for ; Thu, 29 Sep 2022 12:27:16 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28T9kJN2014924; Thu, 29 Sep 2022 03:27:13 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type : content-transfer-encoding; s=pfpt0220; bh=XkjqbUOk4ClUX6whE7N3nrXTI+gx1woP/oBy7vPWhhE=; b=M56OBEELyDZaFZbWQgmkZW/AG6OWpY3o8u4m6WOc3EBPZsdG7lZz4J81pTnM2F0zUZhU TjPhCdZ7DRgwowcevZqHJT0zBx8dnYc7+1D2lUFOfLbw3OgJVx1RKj5WYP6AySNdw9Ah a2Ald2cHu0bXx4k/52O/ybZYM2+Le31MzL3aL85xzNrDx/imBhNmo7se826l7IkV0QUT HQ92NuCUOWoEz0Lquu62raqEIc9O2P8javqvyW1wJSxhDkWQRh3ZoF3bGSfWVDmlKbeS 0ydK2Rk0YOCt1fYwnrlAgsTdPO4j4IqVPrm4fO8yC5cvRCaf9g/kJsc/8Rm/aQviRP4i Xg== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3jw913g47m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 29 Sep 2022 03:27:12 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Thu, 29 Sep 2022 03:27:11 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 29 Sep 2022 03:27:11 -0700 Received: from BG-LT92004.corp.innovium.com (unknown [10.193.65.61]) by maili.marvell.com (Postfix) with ESMTP id B71CF3F705C; Thu, 29 Sep 2022 03:27:08 -0700 (PDT) From: Anoob Joseph To: Honnappa Nagarahalli CC: Stephen Hemminger , Bruce Richardson , Jerin Jacob , "Thomas Monjalon" , , Subject: [PATCH v2] rcu: fix build failure with debug dp log level Date: Thu, 29 Sep 2022 15:57:14 +0530 Message-ID: <20220929102714.550-1-anoobj@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220829165151.472-1-anoobj@marvell.com> References: <20220829165151.472-1-anoobj@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: MF-Hq2luxDDI0Y9zAzekaIW0BZlzmZZR X-Proofpoint-ORIG-GUID: MF-Hq2luxDDI0Y9zAzekaIW0BZlzmZZR X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-29_06,2022-09-29_02,2022-06-22_01 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 Build fails if RTE_LOG_DP_LEVEL is set to RTE_LOG_DEBUG. Fix the same by including the required header. ../lib/rcu/rte_rcu_qsbr.h:678:40: error: expected ‘)’ before ‘PRIu64’ 678 | "%s: status: least acked token = %" PRIu64, | ^~~~~~ Fixes: 30a1de105a5f ("lib: remove unneeded header includes") Cc: sean.morrissey@intel.com Signed-off-by: Anoob Joseph --- lib/rcu/rte_rcu_qsbr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rcu/rte_rcu_qsbr.h b/lib/rcu/rte_rcu_qsbr.h index d81bf5e8db..36571c15df 100644 --- a/lib/rcu/rte_rcu_qsbr.h +++ b/lib/rcu/rte_rcu_qsbr.h @@ -29,6 +29,7 @@ extern "C" { #endif +#include #include #include #include -- 2.25.1