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 8471BA05D3 for ; Tue, 21 May 2019 21:57:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4E0524CAB; Tue, 21 May 2019 21:57:52 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 5FB9A10BD; Tue, 21 May 2019 21:57:48 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4LJsljY007446; Tue, 21 May 2019 12:57:47 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0818; bh=s87Di1kju8M1hWEf8tg3tfTQ7GDBSfWUyPbrfH55V8E=; b=BbJ/YIROOaPhQUXsXPHNos5L47sCoT2SbzuvVWtRPQZxADyvLMBe+g433Y9H/1ye0oun 75mAO+PA+8BcLSoUjxEpLbEf3IJsfm97GgrKDDivNRm0A2PLY7S5N/IX02H2sxaHR3Fe mABPfXii3Y0ywN0mLcPLUNbMIbAKM+e9qC75txRVo0JYYvNYPsY75b1/J3bYxWHaCv9G bsxftD1ikHbcZoxM66f8zytaQmX00zc4gYhXCCZL8Qbf15VNlfDhPEijU/WUSIN83pC2 UnphtL/2ljOwikXOTKhMuLxKRTQRryh4eJURI3LzAIxpdOBVo2QePKIoNic38WGVwgqG mA== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0b-0016f401.pphosted.com with ESMTP id 2smnwjrjfa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 21 May 2019 12:57:46 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 21 May 2019 12:57:45 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Tue, 21 May 2019 12:57:45 -0700 Received: from jerin-lab.marvell.com (unknown [10.28.34.14]) by maili.marvell.com (Postfix) with ESMTP id 07D0B3F7068; Tue, 21 May 2019 12:57:43 -0700 (PDT) From: To: Neil Horman CC: , , Jerin Jacob , Date: Wed, 22 May 2019 01:26:28 +0530 Message-ID: <20190521195628.16355-1-jerinj@marvell.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-21_05:, , signatures=0 Subject: [dpdk-stable] [dpdk-dev] [PATCH] devtools: skip the symbol check when map file under drivers 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" From: Jerin Jacob Drivers do not have ABI. Skip the symbol check if map file under drivers directory. Fixes: 4bec48184e33 ("devtools: add checks for ABI symbol addition") Cc: stable@dpdk.org Cc: Neil Horman Signed-off-by: Jerin Jacob --- devtools/check-symbol-change.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/devtools/check-symbol-change.sh b/devtools/check-symbol-change.sh index c5434f3bb..444beddad 100755 --- a/devtools/check-symbol-change.sh +++ b/devtools/check-symbol-change.sh @@ -93,6 +93,14 @@ check_for_rule_violations() if [ "$ar" = "add" ] then + directory=`echo $mname | cut -d / -f 2` + if [ "$directory" = "drivers" ] + then + # Drivers do not have ABI. Skip further + # processing if the map file is under + # drivers directory + continue + fi if [ "$secname" = "unknown" ] then # Just inform the user of this occurrence, but -- 2.21.0