On Thu, 01 Mar 2018, Jani Nikula <jani.nik...@linux.intel.com> wrote:
> Does checkpatch support disabling checks or do you have to filter them
> out from the output?
Turns out it does. There's an --ignore option. For starters, I sent a
patch  to show the warning types in the output, so we can more
accurately discuss the ignores.
Alas it's probably not as simple as just slamming the ignores to dim:
I'll probably want to use the strictest set both when I'm developing and
applying patches (just to get an idea about the warnings, and I try to
keep my patches under 80 columns, etc.). Some other drivers and drm core
might have different sets of rules, and dim is no longer an Intel-only
tool. So we probably need to be able to specify different rule sets.
PS. We need to get dim-tools and igt-dev etc. subscribed to the mail
archive and marc etc.
Jani Nikula, Intel Open Source Technology Center
Intel-gfx mailing list