From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id E81722C6B for ; Tue, 19 Apr 2016 15:16:39 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id u206so29081543wme.1 for ; Tue, 19 Apr 2016 06:16:39 -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=mTRwjfsKwfWYb3SFkLS03PX0ixpyz5g17UwfZIvR5nOHtP092GTz7yCBwf74Fy6ojr 1ZJmhDxxzB8dN0Vq5ATV4tiyyDofUJhvX3CL15WIEb97Pfh5QjvMH3FEPEnxC12To/jk TgvG1iVwx8lDZErcAwEW+ayNrETXU98duX7O90toIaUEvW9AIk6c9/8YHlXwUFyq8Qsd LSWLWWHrIr703c4i37prBNTg5+ONBBYOUGBO/vewWZTXK2wwU+ZC+ZOEWIx6Xw/Uana2 aIx/2XWe4R/achspWDuYgGCjYUspD4T+CXQbl1JkHcscd8LEtWpi12uDP5knEgFcZEUR waHA== 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=a/g5moX+GDEmTsqB5ZuOBPJ+rLuY+YLOlxxqenZF8jV6Li4YRnSd+P81bprPp4GSPO G6w5wknfUy/hyapIcyxD9CEbo67FbzxZG/0KmPGucGLz2vIFlrqhO1TYbfHcxesug1by ih/W0KowCsFvjG1yNbpTb3I7TzMt3usraxr84pbpdlXz1g67UhZxGKLP2hcxAtNML4RE fThjLIDizoMdEHLvSGZh+MO7L16G6NuVgo1QWgP9hGQOX6XkngOhPSp9KYzFW5cyUND1 MPji6GWAhDR0rR0LMDlwUFewAY5jv4iWf6oVtDMnEyz343CsPKLYsy3Tjg5NJSuMC1b+ Z3SQ== X-Gm-Message-State: AOPr4FVbLe3/n28sFlI/Zd3aEpnoO3K5gwVhqQ3zDWPAO80WOMK4/E9QQN8YjKMVt52tWmpT X-Received: by 10.194.61.19 with SMTP id l19mr3135640wjr.4.1461071799794; Tue, 19 Apr 2016 06:16:39 -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 ys9sm215931wjc.35.2016.04.19.06.16.36 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Apr 2016 06:16:39 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Date: Tue, 19 Apr 2016 15:16:29 +0200 Message-Id: <1461071789-14171-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:40 -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