Re: [PATCH] net: macb: rate limit netdev error info print in the data path

From: Théo Lebrun

Date: Thu Sep 24 2026 - 05:05:45 EST


Hello Zijin,

You missed part of my recent feedback [0][1]. Copy paste:

- Also you are missing the prefix [PATCH net] or [PATCH net-next].
Read up about this here (and read the full page):
https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html

- Also your To/Cc list is weird, make sure to use
scripts/get_maintainer.pl (or use b4 for patch
management which uses it automatically).

In addition, make sure to read the "submitting patches" guide [2].
You missed:
- replying to all review points one by one using interleaved [4]
- V2 in subject [3]
- write up a changelog [4]

Also this one is less well known, but the net subsystem (and many others
nowadays) expect people to reply to Sashiko review emails to say
whether they agree or disagree. Especially if they disagree. You can
mostly skip over the pre-existing issues which don't relate to your
series.

For example Sashiko says you don't cover some log netdev_err() calls.
You can reply explaining why only the ones you touched are important to
deal with.

--

And I see just now I have in my inbox an email from you asking how to do
it properly. Good! But it doesn't show up on lore, I'm not sure why.

Replying to it here:

- Don't send the same patch but slightly modified. Maintainers need to
know the latest version. New version means V2/V3/etc, even if
changes are tiny (like a typo fix in commit message).

- Don't put V1 for the first revision. I think that's git-format-patch
default behavior.

- Using git-format-patch looks something like:

⟩ git format-patch -1 998b159fdd78 --subject-prefix="PATCH net" -v2
v2-0001-net-macb-take-bp-lock-around-NCR-read-modify-writ.patch

⟩ grep ^Subject v2-0001-net-macb-take-bp-lock-around-NCR-read-modify-writ.patch
Subject: [PATCH net v2] net: macb: take bp->lock around NCR read-modify-writes

⟩ scripts/get_maintainer.pl v2-0001-*.patch
"Théo Lebrun" <theo.lebrun@xxxxxxxxxxx> (maintainer:ATMEL MACB ETHERNET DRIVER)
Conor Dooley <conor.dooley@xxxxxxxxxxxxx> (reviewer:ATMEL MACB ETHERNET DRIVER)
Andrew Lunn <andrew+netdev@xxxxxxx> (maintainer:NETWORKING DRIVERS)
...

I think most people call scripts/get_maintainer.pl and write the
git send-email --to/--cc flags by hand. I've been using b4 for a few
years now so I don't really know the usual git format-patch workflow.

Or you can use `git send-email --cc-cmd=scripts/get_maintainer.pl`.

[0]: https://lore.kernel.org/all/DLKVCOXTNGVZ.3CC6KFXDIFJ3X@xxxxxxxxxxx/
[1]: https://lore.kernel.org/all/DLKVEXS7X14N.XLLMBDDX6ZJW@xxxxxxxxxxx/
[2]: https://www.kernel.org/doc/html/latest/process/submitting-patches.html
[3]: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#subject-line
[4]: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#respond-to-review-comments

Thanks,

--
Théo Lebrun, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com