From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 3004A1DB1 for ; Sat, 5 Nov 2016 16:42:19 +0100 (CET) Received: by mail-wm0-f47.google.com with SMTP id f82so42875431wmf.1 for ; Sat, 05 Nov 2016 08:42:19 -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=9Zu3bHhv+el9s4NQsigFX//2Hag8cagMUedBOoxcwxc=; b=WtxK4KD7EjvBFLR5GbtA8ZxhC4r76xbpttcoZPd5RGIw0Hyd9rlKZWw/Yx3mLLiNFI U4IjDeUWv6VPI0t7mfv3Yu5kpTp04WFWdYLauPwDJGkE7uSy7B4dFjZM7UiB0S3dZwJh Ckpz6zF06NGLEnEyejhU+ztRLdhwXfRJmrH9ySJKIK9+jnFQGYSO36CielrDIb86AwVt exQJ72k1fAU0vyi8G4TsNFDt9oRPpctBgv2Sg8389Vq9UDiBZpBEPg3PdEEaJ21uSzRf BQkQQicQ5f1Sbq9CgxPu/QNTx8xPC37b39PaIymXUxdK9KwwuTeYNyoKnoGlHHBzLgHR eFeA== 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=9Zu3bHhv+el9s4NQsigFX//2Hag8cagMUedBOoxcwxc=; b=KULHD45by+W2D2e1WUSf1Patox/N3wCkBzqHf7dBU4uGstxJb9TGowcx+pGQ24vU8P IXiCYwJD+Xfc0xkqhh+hgd/BXLdB+QTrc7e5PU9nlKRNZUbJd5HLlAP9MBHpl6PnRE3s tHJL3xKzHU4tcLTwRIoQCjTMHkbR1lLxBvfAJ4tEMu6E6CgSlZ7E3h9K3K+AGpzV+TBM iFZIteU9R4YkgjdHlko7obiMhPhdoPGMQHWC0uY47eergfJdmAC3Rvw1Xkv1oaHwRwbb wocDevyHvFEOltNAolSd8k1ZHxQ4UEHMGoBuyAAfR1OkWsEaO2Cu4ILTu4cNULJdosle a48w== X-Gm-Message-State: ABUngvc1UpCfGLfj2z2uwbRdNnGq+6qo1tvIkzfDNNYmTvL4sPh1oOML9eGupjPXHhTy9+S7 X-Received: by 10.194.3.47 with SMTP id 15mr15558618wjz.17.1478360538664; Sat, 05 Nov 2016 08:42:18 -0700 (PDT) Received: from XPS13.localdomain (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id l6sm20361504wjc.7.2016.11.05.08.42.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 05 Nov 2016 08:42:18 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Date: Sat, 5 Nov 2016 16:42:12 +0100 Message-Id: <1478360532-13516-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 Subject: [dpdk-dev] [PATCH] scripts: ignore const struct checks 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: Sat, 05 Nov 2016 15:42:19 -0000 checkpatch raise some false positives when run outside of the kernel tree. The script checkpatch.pl from the kernel checks a list of structs known to be const. It is obviously not relevant as DPDK has not such list. Signed-off-by: Thomas Monjalon --- scripts/checkpatches.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/checkpatches.sh b/scripts/checkpatches.sh index 2f67d24..336cc7b 100755 --- a/scripts/checkpatches.sh +++ b/scripts/checkpatches.sh @@ -42,7 +42,8 @@ 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,BIT_MACRO,\ +VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREFER_PRINTF,\ +PREFER_KERNEL_TYPES,BIT_MACRO,CONST_STRUCT,\ SPLIT_STRING,LINE_SPACING,PARENTHESIS_ALIGNMENT,NETWORKING_BLOCK_COMMENT_STYLE,\ NEW_TYPEDEFS,COMPARISON_TO_NULL" -- 2.7.0