Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp814121rdb; Thu, 18 Jan 2024 22:35:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IGss5Ht2whE6uRwTlk7Pm+xNhZLgL86DONpnQnlSe0ODHL8nKh15ubgWR238KQHrYI5IR8D X-Received: by 2002:a05:6402:3183:b0:558:2067:d7e3 with SMTP id di3-20020a056402318300b005582067d7e3mr1228105edb.69.1705646106033; Thu, 18 Jan 2024 22:35:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705646106; cv=pass; d=google.com; s=arc-20160816; b=LF7ykKk+wdFuQ70F+hel2k8n7fQrVJNufcu4jsZKi8jeakM3lohMjgcVvyPKG/oING YjMvAwNhEs0M5PLRU0mi1x8aVWo0alua4k+u5vokF9MKY33MMlO1rDWzyD082cjOO2j0 zJ3B/MtM3RXWTxARhzusOt6n9Uo6zZcHGAnvfERmfagg7sz70hfYKu5h9BwOiPVXXdsu 2lOac3v/EWF7zWK+32wNiK+keTrQkeDNsSp8D+YwdeHHmb+aKssSAXNBVGXs4TAXK+QX riz0QFkTEFU6ZjtFMT75U4V2G3PfOklDOyd2V/9YU8olfgmkKZ2wOAMswUVl/Qn4Q3cx Pt6w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=AI/YvbK1h3/SNepllsob4xFvx7VdU/1j8XDeKZp5lW8=; fh=RS4CBxOr4wwqV/l0qVD1SvrYcfvrETzree5CMCtqu7g=; b=eM6MT7u+CcMfyyGSbUSuD7imqZJZrSi/e0vKF9QFfYtfu3nXjtErvuWX66oslRVKQe qfdOxkE2rCWIqfRDvfVPPg+/n9I5B455ySlsca3IN2ApggWf9PpIecjTgDGk0kU5L19f BI7amjaGY0fBBo9Yr1Gcys+Ajj0qzaGTC//k1K4YpdLOnHM/JwSPGZjdp7R6g1itGbXY 53afuwxYNIR4oDM9yWgMnB9ci3PQsJWt7U2Anw4hZ0zgf2J6caO+cEFY+E3/f4YDPLy+ lS7ycIjW5bTO4Z+RpBrKGwimbRCsIeUQWBJtxTHELuVlKLihnHd8RkZYToV1S4HRf/sF yqGw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=p6r31cZu; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-30824-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30824-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id g2-20020a056402428200b00553dc96be61si7863334edc.285.2024.01.18.22.35.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 22:35:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30824-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=p6r31cZu; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-30824-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30824-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id C799B1F223AD for ; Fri, 19 Jan 2024 06:35:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 743E2DDB7; Fri, 19 Jan 2024 06:34:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="p6r31cZu" Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 7DDFAD529 for ; Fri, 19 Jan 2024 06:34:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705646084; cv=none; b=FvKUkgtGDPXy/B5lDE3xd/U3r7tY/2EKYtMVjtywoZL3T37/hjBL49uiuYTDSFI6qIzUIUG1Wa44SSpkVyaoP2aPzG/NAWJxcxIKMR7RYwOLSBJlamPU/rrgyS2iU+uVxsPNZS9Oot0a6VAe8/Y+Tmjdaot90PUR8PsfLU9QGjQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705646084; c=relaxed/simple; bh=czFEItumKs/Ql1F8ROJWVp584UYw/u4AcB9xLP6NpPc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ogLaVZXO1OXQq/cYByUIrf71O0HoCnWq9RnsrbfeyVm7lqA0iNJQoozpOnLFbSmgtxaULh76Yejv+jpWUWfqik1kdy5emqOwKtsGUYy0CMJbrI78vtRjfAxhQkahoAeklHyM9k6lkw5HZQir4ijuSJo/aPa5gc6bVSIO9bgUqFM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=p6r31cZu; arc=none smtp.client-ip=209.85.128.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-40e60e137aaso4722095e9.0 for ; Thu, 18 Jan 2024 22:34:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705646080; x=1706250880; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=AI/YvbK1h3/SNepllsob4xFvx7VdU/1j8XDeKZp5lW8=; b=p6r31cZubnU+ZfQdFMDwRwsGZbrTy0IUYeKWepIuQXXB83zRZaeVjdKVCIevC/swcr WhJYOZ9vVrbCwh656pVMBw6ToW4XmMHy0nj5SbSfk2B8HHBPsTRozrPHC2dnocaRkAsT atJvU7lSM9zFQrZck2E8rP3RhzyS32l5m71eb9UmCsrE0grK0erKeaBong1VWG8q4yng hYbmH3MCz4QeZ3Em1QaGkDa2Cx8V6VaNRzlRnNyw5AyQ8QSddoSIUC9nV2BppRvFha31 8+I90bVrdqrhR7aOWBDoLaCKKB5KE+igMq6nCLaD03u6KpWK0m+zy20wSbsBV+nhbkcV xTyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705646080; x=1706250880; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=AI/YvbK1h3/SNepllsob4xFvx7VdU/1j8XDeKZp5lW8=; b=JnmpO0QMqrjsUO5CmuBrMp6JXTQzE3w+rH1of1p0vWGgRaiwPk0hjlbzkCuYy287IZ CWcLkzJTh2QXHyWHX0yqFAGerEW8UyTVejuyFu+Xq5fO3vQ/5hxAI7YRE2m9OsgwUTKO 7BtuiLOcW3bLwQJ5MKYvSmiw8JKEMyY7pjLCXaq0ojRgIueD/MtB8pkY+mUQa7pJQU93 tvCI2cVs25LOZBAqfGBqbf3uuZLSJjJ2U79E+MGGwYo6c/Z8bzuuRvdtdfyOi8ERuoHG D6j0VdQuiN8nDus7wRk+idoEcq3ao5CLL/FFfwbKPLe6hp+VbRITj2fLVKqTvtOplAtE DIlg== X-Gm-Message-State: AOJu0YwK3tfjY/IgXE7Kd+HYgwGOEw7xcTH/hD9LJf1n47J0bszs9n2T VBkpwNfvjIWAA1AzI/gruhH8Y6aoj3rTFvjYmOvAYUGtut7thwtD0ie2ZIg4z+huHUJOR3Zojdd oBTA= X-Received: by 2002:a7b:c303:0:b0:40e:65d1:5aeb with SMTP id k3-20020a7bc303000000b0040e65d15aebmr1327841wmj.137.1705646079630; Thu, 18 Jan 2024 22:34:39 -0800 (PST) Received: from localhost ([102.140.209.237]) by smtp.gmail.com with ESMTPSA id bg23-20020a05600c3c9700b0040d91fa270fsm28086952wmb.36.2024.01.18.22.34.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 22:34:39 -0800 (PST) Date: Fri, 19 Jan 2024 09:34:36 +0300 From: Dan Carpenter To: Jacob Lott Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] staging: rts5208: Add more details to Kconfig help Message-ID: References: <20240118191703.89535-1-jklott.git@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240118191703.89535-1-jklott.git@gmail.com> 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