Re: [PATCH v2] btrfs: reject root items with drop_progress and zero drop_level

From: Qu Wenruo

Date: Thu Mar 12 2026 - 00:18:50 EST




在 2026/3/12 12:40, ZhengYuan Huang 写道:
Thanks a lot for the explanation. I think I now understand the
intended use of the
Fixes: tag.

I still have one question, though. In this case, scripts/checkpatch.pl
warns that a
Fixes: tag should be added, which seems inconsistent with the submission
guidelines you pointed me to.

If you check the checkpatch.pl itself, the logic in it is pretty simple and can give false alerts.

It just checks if the commit message has BUG: or KASAN/UBSAN lines.

So it's false alert prune.


My understanding had been that patches should generally be sent only
after passing
checkpatch.pl cleanly,

No, that is only a script which has its limits.
Checkpatch is good for its code style checks, but not always correct on other suggestions.

Sometimes even its code style checks may conflict with the rules inside each subsystem.


so I wanted to ask: is this kind of warning acceptable in
practice,

Yes, unless you believe a simple perl script can be as good as human common sense.

or does it mean my local checkpatch.pl is outdated?

Since you're already using the latest rc kernel, I believe you're already using the latest checkpatch.

Thanks,
Qu

If it is outdated,
should I generally use the latest checkpatch.pl when checking patches
before submission?

Thanks again,
ZhengYuan Huang