Re: [PATCH 3/3] checkpatch: suggest including testing evidence
From: Greg Kroah-Hartman
Date: Tue Jul 22 2025 - 04:00:00 EST
On Mon, Jul 21, 2025 at 12:24:34PM -0400, Ignacio Peña wrote:
> For non-trivial changes, it's valuable to know how the change was
> tested. Add a gentle suggestion when commit messages don't mention
> any testing, verification, or validation.
>
> This is a CHECK level notification, not a WARNING, as testing methods
> vary greatly depending on the subsystem and type of change.
>
> The check is skipped for very short commit messages (documentation
> fixes, typos) where testing information would be excessive.
This will cause people to write short commit messages in order to avoid
this type of warning.
I don't think this is a necessary check at all, I can't remember the
last time any patch I wrote would pass this check :)
thanks,
greg k-h