Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp941492rdb; Fri, 19 Jan 2024 03:43:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IGbZwe7DN4s07AFHoKvMhTamZEVGy8CF/W2ffC09dD5biqh1pNEzFA3dVOFYD0RJTvBtVxK X-Received: by 2002:a05:620a:2889:b0:781:bd79:dcf8 with SMTP id j9-20020a05620a288900b00781bd79dcf8mr1329925qkp.65.1705664589588; Fri, 19 Jan 2024 03:43:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705664589; cv=pass; d=google.com; s=arc-20160816; b=RzYpQM6EPcq3foGJpLZboAfGw/SWWp34Eam3smUrWgWmyr7uo+FiA9fYO+Io52D7yC DPZnWup6Vrc4OuFD+gMbzCLGUUnSAKSu7fugnwJOmi4SXax24QCnCj7z/QX0Tww2PR7q NBHXNFEUxB6UP8cd8kRdHRZMq0vmimgGuL272OR8hjhuScYnqMLjWiE9zV5w1L7hR09L sMY34xBvqNyJxDpP80SbxVHlhT/iOE0KmWpugpQYFTs8iflOrcbM5L3YhgWTbSFeh9EO nYiRNdfZeRpJc3ngCfelp8dDlDUTM5OhmQzwgtKt6p8p/ABWnHqVqmVmoIP8V0qq8mtG j+lg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Jebv0xM92fR/L3N7cwyKKHF03mwyuCyd6SEYpSpuNYY=; fh=Vnhi/BpO4+/Aj4TkxoJvTktNqwPfwBFN1fGMPXsfyu4=; b=CDSHaSJr4NIe81yVQqZTXGDHrIceRcuf7AP6GNybTmBToE3ya66O0/cbgPQBN2/21x 3UealvRp5704rj8t0RVJbEjhgkxPoLnPngJHUOXLhJuwTa6Q3305InDglqNFWRmq7PfL 3npyJd5s9oYy5hCzDHQzt0RWpMXfqLLNyHGUMySQIyh220Cr0p/CH9QmlJn2rMhQSkBL /x8/Nx5HINCHyjZwmDME7iOQde9gSypG0m/hBOpHR4/DUBq/G4paicZ6sqMuqEiIaMup W9E/W7hmsLORh7tVzOM3h6b+oa3vINqcZBuS9A+kB7MnQkVH8bv4Zk/Akb/7XsAXyoeH rVEg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nPl4cSsA; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-31109-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31109-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id s12-20020a05620a0bcc00b0078341838632si17539141qki.373.2024.01.19.03.43.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 03:43:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-31109-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nPl4cSsA; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-31109-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31109-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4BBE81C2345F for ; Fri, 19 Jan 2024 11:43:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B85C04F1E3; Fri, 19 Jan 2024 11:43:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nPl4cSsA" Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D0504F1E0 for ; Fri, 19 Jan 2024 11:43:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705664581; cv=none; b=mJhAu3Xsamys1HSQNLBpRofmzU0Jf/f5/O8gXy33t6WowCPJQntPTvJzD81wXbkL7yqAUdc+5HWpx8J6c1UQArN9TVMFPeqlZrvyeR3Uc8IdHywg1qqhAXAcSlk4t+4XH6pWI5fW9Jn6LWqesYkWbTzq6apyE4c9qkEMjAB3fMY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705664581; c=relaxed/simple; bh=puKTQTWVMJIxLcmh/moA3FWN4wosFtK2VPfcC73Sd2M=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ZGZcmaqAxLKnRLZOG3LKt7yOze4u5IFQvrnWM8riMvekQkUt+Shewowymn5xfZ7wrgwIDFQf36KTCm8UDxidwG4Mn3RiaaUh8BoLhlMBFqBQRBGOq/PbbEHBwZpTZ7gn45ThRe2beN8b3l+n5pjozD+iq+Mu73+i4KQ3R4XOaXk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nPl4cSsA; arc=none smtp.client-ip=209.85.160.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qt1-f182.google.com with SMTP id d75a77b69052e-429e6ed0b32so1692401cf.0 for ; Fri, 19 Jan 2024 03:43:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705664579; x=1706269379; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Jebv0xM92fR/L3N7cwyKKHF03mwyuCyd6SEYpSpuNYY=; b=nPl4cSsAoaZm1vIf9TLyy5UW+3Ispj6stVf+E8p5Rz9YB80WfGUbNpeX1fFGrpjoiq LZWmeRRMrbPzwEq0x3Le2xwCNnz7LmM4Mtd8NsTwg1gYbaV5MAZUX6DJvIEx0f/Wzx7O BEvAIJNT1dDx4BDbOnho2a19wAOh5tCGkhsWxVgKB+K/wKRAoYMg2v0yYLLi2QxpjvZu OUeMw+S3Ir6mKJNSX1YhL1rIaGyFn128woxnECmWKLiOwfmReLuRvzT+FzKiiXJCczHV GFyh/6daMAKzMiyCFScRp4UlD/+iZBttFlXtu++3Nu/pWQ7srP0OIgQFatx7YJBPTZ3Z 1sEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705664579; x=1706269379; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Jebv0xM92fR/L3N7cwyKKHF03mwyuCyd6SEYpSpuNYY=; b=OwTUXANf594XaHDTI7W+SLIs+fVnRLMeeuRUy4jPgsV2o0p2FQgsDJQkc6M4/I55Td P5YzvJNidVEqUD9JUnSQ6LobkcUYftHVjpua5cO5eqHM4V0nThIoJgjwTjjSKHDTB0Pu FoYc6m46DDTyCM9jgEQ/7RlZS3xvNd6vjeNMFfl8Ohi9uy0Wj+wlWimOjnRyVhFSe2qq RYwR7WfqX5GE6gZsQqDbfCkDlLUDFlierbaOh7Zy7sx/MnKYs5rC0mmS3Zw+AXW581p/ sQqA6ai6X0kOpVBibGNaUFN2veenkS5Rsao3LNP0VTgdN2UlBcW9mgzFtmk9bMYBo/Jp pPPQ== X-Gm-Message-State: AOJu0Yz6LDRj18noXjwFLCMlS7K5lxV6JXUDhYoxnv2TqubMOsoypVZo v4LmsEXKoZm6NqjuJDapOr/y3/Xn35/9RsbiiV2+BxRDNCyW7/U+KKNc8qZJ/H62JA== X-Received: by 2002:a05:620a:1a16:b0:783:8d1f:8f0 with SMTP id bk22-20020a05620a1a1600b007838d1f08f0mr586339qkb.6.1705664579289; Fri, 19 Jan 2024 03:42:59 -0800 (PST) Received: from [192.168.1.157] (pool-74-98-201-227.pitbpa.fios.verizon.net. [74.98.201.227]) by smtp.gmail.com with ESMTPSA id w26-20020a05620a095a00b007815b84dbb3sm6003145qkw.49.2024.01.19.03.42.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Jan 2024 03:42:58 -0800 (PST) Message-ID: Date: Fri, 19 Jan 2024 06:42:57 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3] staging: rts5208: Add more details to Kconfig help To: Dan Carpenter Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org References: <20240118191703.89535-1-jklott.git@gmail.com> Content-Language: en-US From: Jacob Lott In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 1/19/24 1:34 AM, Dan Carpenter wrote: > On Thu, Jan 18, 2024 at 02:17:04PM -0500, Jacob Lott wrote: >> The current help text is short and triggers a >> warning from checkpatch.pl. This patch adds more >> details to the help text which should provide better >> information for whether or not to enable the driver. >> >> Signed-off-by: Jacob Lott >> --- >> v2 -> v3: Fixed spacing and newline in text > The commit message is still not line wrapped correctly at 72-75 > characters. It should have been: > > The current help text is short and triggers a warning from checkpatch.pl. > This patch adds more details to the help text which should provide better > information for whether or not to enable the driver. > > Or: > > The current help text is short and triggers a warning from > checkpatch.pl. This patch adds more details to the help text which > should provide better information for whether or not to enable the > driver. > > >> v1 -> v2: Corrected line spacing based off feedback >> >> drivers/staging/rts5208/Kconfig | 10 +++++++--- >> 1 file changed, 7 insertions(+), 3 deletions(-) >> >> diff --git a/drivers/staging/rts5208/Kconfig b/drivers/staging/rts5208/Kconfig >> index b864023d3ccb..c4664a26ba3b 100644 >> --- a/drivers/staging/rts5208/Kconfig >> +++ b/drivers/staging/rts5208/Kconfig >> @@ -3,7 +3,11 @@ config RTS5208 >> tristate "Realtek PCI-E Card Reader RTS5208/5288 support" >> depends on PCI && SCSI >> help >> - Say Y here to include driver code to support the Realtek >> - PCI-E card reader rts5208/rts5288. >> + Choose Y here to enable support for the Realtek PCI-E card reader >> + RTS5208/5288. This driver facilitates communication between the Linux >> + kernel and the Realtek PCI-E card reader. >> >> - If this driver is compiled as a module, it will be named rts5208. >> + If you opt to compile this driver as a module, it will be named rts5208. >> + Selecting N will exclude this driver from the kernel build. Choose option >> + Y if your system includes the Realtek PCI-E card reader rts5208/rts5288. >> + When in doubt, it is generally safe to select N. > > In the original code there were three lines of help text. > > 1) Say Y here to include driver code to support the Realtek > 2) PCI-E card reader rts5208/rts5288. > 3) If this driver is compiled as a module, it will be named rts5208. > > The minimum that checkpatch wants is 4 lines. > > However, I feel like nothing you're adding here is useful information. > Some of it is just confusing like, "This driver facilitates > communication between the Linux kernel and the Realtek PCI-E card > reader." That line feels like information, but when you think about it, > it doesn't actually mean anything. The second paragraph is just > repeated information so it's kind of a waste of time. > > Don't just obey checkpatch for the sake of obeying, if we can't think > of anything else useful to say then three lines is enough. > > regards, > dan carpenter > Thank you for your feedback. Based off what Dan has said I would agree that it is best to leave the information as is. For the future when talking about line wrapping I've been going based off VSCode's row/col count, is this not correct? For reference when writing the commit I would use a new line before hitting 72 "col" on each row. I ask for the future so I can make better commits.