Received: by 10.223.185.116 with SMTP id b49csp5769562wrg; Tue, 27 Feb 2018 21:05:46 -0800 (PST) X-Google-Smtp-Source: AH8x226HMeTywr4ZZe1qJEkttyTXxM2DkRYbildsoNBqcT/D8mgi4an8XAmp2ysV0kvAkBl4vaNF X-Received: by 10.101.93.134 with SMTP id f6mr13323124pgt.293.1519794346405; Tue, 27 Feb 2018 21:05:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519794346; cv=none; d=google.com; s=arc-20160816; b=TkAM2Md+g5Y1rxKL03d9rGPSXutnZYwO9RwBf57Utc52qndm5bqqnF8PEoLzC3seGm Xm9XZE0tU4UVtXMKaLJ3XkRJawnxlxNiU/6KTONbB534d5Umpc+NdD237P7Sk6kNtNQW wGfe4GaJELdeV22qTmjjUgZDomAL2mfz3oIDrK1XklKAzm19Rk0YzzsFPYnaNkUYz/X+ 5mulAhtoQ7pC1aMXkpvCH/9dyVRlcnuNdBi5DLykGLMjhlsQa4w1Q9g4mpMEapSNHAsn BQOA6BrkWmrGukWokwmyUfoUy8MqltP4LZCHZV8QpPiymMGVUU8vOSVjNz7duVaeqv3j /Hrg== 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 r24si537466pgn.78.2018.02.27.21.05.31; Tue, 27 Feb 2018 21:05:46 -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 S1751824AbeB1FEN (ORCPT + 99 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(-) 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"; -- 1.9.1