From patchwork Wed Feb 28 05:03:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 129919 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp609812lja; Tue, 27 Feb 2018 21:04:16 -0800 (PST) X-Google-Smtp-Source: AH8x225PMRueQc8Nh3y/aYarcsfJcHJIwHp3Y63tfbV2i4VKX+UW5Zr5w+OwWnCAxUoqfd581juc X-Received: by 2002:a17:902:c1:: with SMTP id a59-v6mr16332414pla.284.1519794256840; Tue, 27 Feb 2018 21:04:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519794256; cv=none; d=google.com; s=arc-20160816; b=zA8VgOdiTQIMn8NTAmj+EB2423Na0dBcD0iklubB7IJtmuE1CIpE4T1aleXMZPXI/V /KiomHNXTvH/e5DRsY2NyqHzuJkcPKaqPwBbM10QBZkt8OMx1t5s8yRSYVGZjd5n0h8F IxDq4shuZPjIP1RXa1yq6rTbUSOe5WCUIpKVg3AilWNfp+q0YpztKOhidiydFzICq+TN jbCGuuRun+c/WUcxRHblOEbtfyWyZMiicKK+/6H1eY0zS0iEMMG8ci52V4LyQvMlgtDJ WvgbEm5oMGMRovgSwE9n2774TcQB4D0ELF+Ynz5ODgdK7MOAjfgzRvPqg++67RBkjXN+ 8mgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=r5l1x70NL3+W4enn1prCyR46qCRChO48i2BKr9TNEg0=; b=P3h+9yI5FcYDphl7fxqPXRlKBQwVcJlcplyM55BIC2CuJV650yWucRkI15vZctyyr0 Ls+zsVBnSfTscuWB8AqEHckdhjKwzVf1XM9cy4GJX5kOYM0i3ROl5NT9QZx0FHcEUis2 u7FTXK7rWVZ7vQOWKMkkMUTSuxoqnpZlIxdE7Q3IfO/t2mFwHat/nyn2A6eXiGMZGE9f VF3Nl0HKGSoQnCpc7Xft55rQrfWBs44AWN/j9/kX1P6vU8wAZxnXSc0LxcBkHB2R9abY st6o76WEq5NPi2TpYuE1Jtpwhnj/xXa+16akvFoMqA6MSLq+wANAgBl8pFlw6RoZtHQ9 xTlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fi8uJ9xw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d21si625632pfk.328.2018.02.27.21.04.16; Tue, 27 Feb 2018 21:04:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fi8uJ9xw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751839AbeB1FEN (ORCPT + 28 others); Wed, 28 Feb 2018 00:04:13 -0500 Received: from mail-qk0-f195.google.com ([209.85.220.195]:38192 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751686AbeB1FEM (ORCPT ); Wed, 28 Feb 2018 00:04:12 -0500 Received: by mail-qk0-f195.google.com with SMTP id s198so1520084qke.5 for ; Tue, 27 Feb 2018 21:04:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=r5l1x70NL3+W4enn1prCyR46qCRChO48i2BKr9TNEg0=; b=fi8uJ9xwYyDPCK5GC2EFbtOC6j8ZXq1Q8CuonIqep/H5JyquUYTFnlRzxla6KbUXx7 Pj+pEExq+wp6WTAffrymMbmItlDH5xVjPv3AlEdOsGqRTjc+LB6ySB/g2W90zVI4awDC QIzI3lRG8CgtZTcy74jHustkRXwwFERuT8YLw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=r5l1x70NL3+W4enn1prCyR46qCRChO48i2BKr9TNEg0=; b=OSE277NPRvuZHGbmLzZdTsIX32xM4Rn+mBuD90n87LJ8Fc4wLw9vYx6WhKPbTgUa2+ 7RhhMfUst6h7aE8ALKECbycYe9EHFyGWXfLkuiqyW7IL+Ke1r+3hOutAMVB8H/0SOUwf qk+6FQnssNlkKkVLhmIy3Wy73dnFS2tnfCK2Z7PlC/LElcN4AtDvp5oefFeJSb5iyjZ9 XQ7YrcmFehjzJxoKO6uK+jsQKGKkJcuLbam4TGr1/PLvR/7hejTba6YDGXu+HKYhd3Jo ygzliIL00lbtvhWDLlM1NTS4Q/U/swYOEWxqHqiSVmCR7BwCJuiMEZm0ZsZfQZikJXVz nwSw== X-Gm-Message-State: APf1xPBOpObwcGcA9621tz6kkc+W86+l5QcAN1d3plkRZIg2ncFpwPvI cwO6xF+QRJI6OOg1S9l/Sbl5gA== X-Received: by 10.55.189.131 with SMTP id n125mr26925870qkf.350.1519794251954; Tue, 27 Feb 2018 21:04:11 -0800 (PST) Received: from localhost.localdomain ([45.77.212.61]) by smtp.gmail.com with ESMTPSA id b184sm533208qkg.90.2018.02.27.21.04.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 27 Feb 2018 21:04:11 -0800 (PST) From: Leo Yan To: Andy Whitcroft , Joe Perches , linux-kernel@vger.kernel.org Cc: Leo Yan Subject: [PATCH RESEND] checkpatch: Make '$min_conf_desc_length' default value to 1 Date: Wed, 28 Feb 2018 13:03:59 +0800 Message-Id: <1519794239-21530-1-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Make '$min_conf_desc_length' default value from 4 to 1; so can give more relax check for Kconfig description has at least one line rather than four lines. User can still pass parameter "--min-conf-desc-length=X" to set more strict check. Signed-off-by: Leo Yan --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 5cbc887..83d8663 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -51,7 +51,7 @@ my $configuration_file = ".checkpatch.conf"; my $max_line_length = 80; my $ignore_perl_version = 0; my $minimum_perl_version = 5.10.0; -my $min_conf_desc_length = 4; +my $min_conf_desc_length = 1; my $spelling_file = "$D/spelling.txt"; my $codespell = 0; my $codespellfile = "/usr/share/codespell/dictionary.txt";