Re: [PATCH] netfilter: conntrack: fix -Wformat

From: Joe Perches
Date: Thu Dec 03 2020 - 11:46:27 EST


On Thu, 2020-12-03 at 06:39 -0800, Tom Rix wrote:
> I agree if it can be done in checkpatch it should.
> It is good to have multiple passes on cleaning.

true

> checkpatch is best at fixing new problems,
> clang-tidy-fix is best at fixing old problems.

checkpatch is a set of brainless regexes that operates on
incomplete information. It's not a real parser nor compiler.

It's really only useful as a way to avoid trivial style issues.