On Thu, Nov 16, 2017 at 9:01 AM, Knut Omang <knut.omang@xxxxxxxxxx> wrote: > The most important checkpatch feature added is the --ignore-cfg feature, which > takes a file argument and parses that file according to this minimal language: > > # comments > line_len <n> > except checkpatch_type [files ...] > pervasive checkpatch_type1 [checkpatch_type2 ...] > > With "make P=2" checkpatch is called with "--file" and "--ignore_cfg > checkpatch.cfg" which causes it to look for a file named 'checkpatch.cfg' in the > same directory as the source file. If that file exists, checkpatch will be run > with an implicit --strict and with the @ignore list expanded with content from > the configuration file. If it does not exist, make will simply silently ignore > the file. Will these configurations be cascading? (For example, all of net/ uses a different comment style, so having that recorded in a single file would be nice.) -- Kees Cook Pixel Security -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html