From: Randy Dunlap <rdunlap@infradead.org>
To: Ayan Choudhary <ayanchoudhary1025@gmail.com>,
manishc@marvell.com, GR-Linux-NIC-Dev@marvell.com,
coiby.xu@gmail.com, gregkh@linuxfoundation.org
Cc: netdev@vger.kernel.org, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: qlge: Fix checkpatch errors in the module
Date: Mon, 7 Feb 2022 08:12:58 -0800 [thread overview]
Message-ID: <46818f0c-e05b-c984-967b-12d723f04550@infradead.org> (raw)
In-Reply-To: <20220207071500.2679-1-ayanchoudhary1025@gmail.com>
Hi--
On 2/6/22 23:15, Ayan Choudhary wrote:
> The qlge module had many checkpatch errors, this patch fixes most of them.
> The errors which presently remain are either false positives or
> introduce unncessary comments in the code.
I guess that most of these are warnings and not errors, but since none of
them are quoted here, I cannot tell that for sure.
> Signed-off-by: Ayan Choudhary <ayanchoudhary1025@gmail.com>
> ---
> drivers/staging/qlge/Kconfig | 8 +++++---
> drivers/staging/qlge/TODO | 1 -
> drivers/staging/qlge/qlge.h | 24 ++++++++++++------------
> drivers/staging/qlge/qlge_main.c | 12 +++++++++---
> drivers/staging/qlge/qlge_mpi.c | 11 +++++------
> 5 files changed, 31 insertions(+), 25 deletions(-)
>
> diff --git a/drivers/staging/qlge/Kconfig b/drivers/staging/qlge/Kconfig
> index 6d831ed67965..21fd3f6e33d6 100644
> --- a/drivers/staging/qlge/Kconfig
> +++ b/drivers/staging/qlge/Kconfig
> @@ -5,7 +5,9 @@ config QLGE
> depends on ETHERNET && PCI
> select NET_DEVLINK
> help
> - This driver supports QLogic ISP8XXX 10Gb Ethernet cards.
> + This driver supports QLogic ISP8XXX 10Gb Ethernet cards.
>
> - To compile this driver as a module, choose M here. The module will be
> - called qlge.
> + Say Y here to enable support for QLogic ISP8XXX 10Gb Ethernet cards.
> +
> + To compile this driver as a module, choose M here. The module will be
> + called qlge.
Anyway, please follow coding-style for Kconfig files:
(from Documentation/process/coding-style.rst, section 10):
For all of the Kconfig* configuration files throughout the source tree,
the indentation is somewhat different. Lines under a ``config`` definition
are indented with one tab, while help text is indented an additional two
spaces.
thanks.
--
~Randy
prev parent reply other threads:[~2022-02-07 16:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-07 7:15 Ayan Choudhary
2022-02-07 7:30 ` Greg KH
2022-02-07 11:03 ` Dan Carpenter
2022-02-07 16:12 ` Randy Dunlap [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46818f0c-e05b-c984-967b-12d723f04550@infradead.org \
--to=rdunlap@infradead.org \
--cc=GR-Linux-NIC-Dev@marvell.com \
--cc=ayanchoudhary1025@gmail.com \
--cc=coiby.xu@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=manishc@marvell.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®