Linux PCI Non-Transparent Bridge framework and drivers
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: Serge Semin <fancer.lancer@gmail.com>,
	Wang Ming <machel@vivo.com>,
	opensource.kernel@vivo.com, kernel-janitors@vger.kernel.org,
	ntb@lists.linux.dev, Allen Hubbe <allenbh@gmail.com>,
	Dan Carpenter <error27@gmail.com>,
	Dave Jiang <dave.jiang@intel.com>,
	Jiasheng Jiang <jiasheng@iscas.ac.cn>,
	Jon Mason <jdmason@kudzu.us>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Minjie Du <duminjie@vivo.com>,
	Dan Carpenter <dan.carpenter@linaro.org>
Subject: Re: [v3] ntb: Remove error checking for debugfs_create_dir()
Date: Fri, 14 Jul 2023 18:56:39 +0200	[thread overview]
Message-ID: <764736f8-9d1a-fb8d-108f-5fa856b7ac64@web.de> (raw)
In-Reply-To: <gkiohfwsrxclkgkrlvfu37kvbv72tahc6c4kvz34uh6hhwrunk@surqby5talzt>

>>>> It is expected that most callers should _ignore_ the errors
>>>> return by debugfs_create_dir() in tool_setup_dbgfs()
>> …
>>> The patch itself is correct for sure:
>>> Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
>>
>
>> How does such information fit to the Linux development requirement
>> for imperative change descriptions?
>>
>> See also:
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.5-rc1#n94
>
> Well, the patch author does follow that rule in the subject.

Yes.

Would any other subsystem specification variant or patch title become preferred?


>                                                              Regarding the
> patch log body it is impossible to use the "imperative mood" always in the
> entire text.

This is usual.


>              In this case the explanation is pretty much clear

A terse hint is provided.

I interpret the referenced Linux development documentation in the way
that further imperative actions should be specified also in the “changelog”.


>                                                                and doesn't
> use the patterns like "This patch",

Such a wording occurred also in a few other patches by Vivo developers.


>                                   , or any personal pronouns

This detail seems to be fine (in just one sentence here).


>                                                              so IMO it's
> fine to have the log as is.

I find the change description still improvable.


>> How do you think about to add the tag “Fixes” because of the deletion
>> of an inappropriate error detection?
>
> It doesn't fix any real bug. So there is no need in the tag.

Do you care if the previously used null pointer check was wrong
(for the variable “tool_dbgfs_topdir”)?
https://elixir.bootlin.com/linux/v6.5-rc1/source/drivers/ntb/test/ntb_tool.c#L1485

Will the source code comment “This modules is useless without dbgfs...”
be reconsidered any more?

Regards,
Markus

  reply	other threads:[~2023-07-14 16:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-13  8:56 [PATCH v3] ntb: Remove error checking for debugfs_create_dir() Wang Ming
2023-07-13  9:27 ` Dan Carpenter
2023-07-13 10:07   ` 回复: " 王明-软件底层技术部
2023-07-13 10:14     ` Dan Carpenter
2023-07-13 10:23       ` 回复: " 王明-软件底层技术部
2023-07-13 16:05 ` Dave Jiang
2023-07-13 20:05 ` Markus Elfring
2023-07-14  5:57   ` Dan Carpenter
2023-07-14  6:50     ` Markus Elfring
2023-07-14 10:00 ` Serge Semin
2023-07-14 12:44   ` Markus Elfring
2023-07-14 14:03     ` Serge Semin
2023-07-14 16:56       ` Markus Elfring [this message]
2023-07-14 14:08     ` Dan Carpenter
2023-07-14 17:23       ` [v3] " Markus Elfring

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=764736f8-9d1a-fb8d-108f-5fa856b7ac64@web.de \
    --to=markus.elfring@web.de \
    --cc=allenbh@gmail.com \
    --cc=dan.carpenter@linaro.org \
    --cc=dave.jiang@intel.com \
    --cc=duminjie@vivo.com \
    --cc=error27@gmail.com \
    --cc=fancer.lancer@gmail.com \
    --cc=jdmason@kudzu.us \
    --cc=jiasheng@iscas.ac.cn \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=machel@vivo.com \
    --cc=ntb@lists.linux.dev \
    --cc=opensource.kernel@vivo.com \
    /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