From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 8E4052C6B for ; Tue, 19 Apr 2016 15:16:20 +0200 (CEST) Received: by mail-wm0-f45.google.com with SMTP id u206so29064762wme.1 for ; Tue, 19 Apr 2016 06:16:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=RWmuUgTd/OoSiAWAk0kgOV+52EVAXNkdOweTobso8oY=; b=TnK9/4rH8kL2YvRMsWoFIS7k4ttFMDAomScwp+f5GRJDFWQX+c0kDBBf9cCbcHmCuE BQahhG3djHAesrmR+UIgPuiYUEwtl31xxxtcYt2LpSg5D/W45JvVBIbhgl17+PP1ToP7 KvLPBWgmJ11NWtgBAEwCFFCEs+336MumOyCC1lN2ZbxKFT9nhJ7iJycD1W1+os/yR+ac qFiknIpZaMiHh2cQv5bRkd/kafZKUtM3NVIJSYK5c8ydgbNxXoolhCfd1RngICNS+0aa aDkLHq2ySSWqVKgiWzBKvDbXEOdfaOD2coMEXviKgNJ8zeA1ne4jkt0Lo+o9OloAFN5k Y06w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=RWmuUgTd/OoSiAWAk0kgOV+52EVAXNkdOweTobso8oY=; b=FUWY+nLtbCVlCCZyqxCGj6nrQcunAio/tmIPuU0gZ/TgtdNKE/uvamRsmTUt0Fu2RD TM2VdMscttQI1OCIp2uMmS42JHS2vFhnmbOC6ECE502vzSt/quEvD2d+rCZMPIFZqwfF bSJoKH7wRjNFZQM90/mF0H1pVvMVVMNFaHjd0KfGuwejFbL+i5Rq62ZpPbs0VUVc59eT 0t1Eyp7A9JLwMm8NphM2/GPa2EnzsGseDYyIYK5rfivtNN+8Ci9FfdVSF9CP5YS7RkXk fJr9Rugm8TWD3/708zn4hfz+uh5ZaSaH9jBg74N6oATJpteRGHhWEBu8Fs32OdpaJjfi r4OA== X-Gm-Message-State: AOPr4FWv3VEWGug5zyTYn/btDlQvUDOD6wO9dkOxhyYdNAaJXh/HEy2XPnc216iHLoW1sxFC X-Received: by 10.28.39.5 with SMTP id n5mr17008181wmn.13.1461071780304; Tue, 19 Apr 2016 06:16:20 -0700 (PDT) Received: from XPS13.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id gr4sm231998wjd.23.2016.04.19.06.16.13 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Apr 2016 06:16:19 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Date: Tue, 19 Apr 2016 15:15:58 +0200 Message-Id: <1461071758-14093-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 Subject: [dpdk-dev] [PATCH] scripts: ignore bit macro in checkpatch X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Apr 2016 13:16:20 -0000 It was suggesting to use a Linux macro: CHECK:BIT_MACRO: Prefer using the BIT macro It is ignored because it is a false positive in DPDK case. Signed-off-by: Thomas Monjalon --- scripts/checkpatches.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/checkpatches.sh b/scripts/checkpatches.sh index 5c58a20..4cae86d 100755 --- a/scripts/checkpatches.sh +++ b/scripts/checkpatches.sh @@ -42,7 +42,7 @@ options="--no-tree" options="$options --max-line-length=$length" options="$options --show-types" options="$options --ignore=LINUX_VERSION_CODE,FILE_PATH_CHANGES,\ -VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREFER_PRINTF,PREFER_KERNEL_TYPES,\ +VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREFER_PRINTF,PREFER_KERNEL_TYPES,BIT_MACRO,\ SPLIT_STRING,LINE_SPACING,PARENTHESIS_ALIGNMENT,NETWORKING_BLOCK_COMMENT_STYLE,\ NEW_TYPEDEFS,COMPARISON_TO_NULL" -- 2.7.0