[dpdk-dev] [PATCH] devtools: add long lines to the list of options
thomas.monjalon at 6wind.com
Mon Mar 6 16:03:37 CET 2017
2017-03-01 12:44, Allain Legacy:
> The checkpatch.pl tool is flagging warnings on long debug log strings.
> Since splitting these strings makes it difficult to search for logs it is
> preferred to allow these as exceptions to the long line rule. The addition
> of the LONG_LINE_STRINGS to the list of exceptions will allow lines that
> end with a string to exceed the maximum line length, but lines that end
> with variables or other constructs will still be flagged as errors. Also,
> lines that make use of PRIx64 with string concatenation will still be
> flagged if the beginning of the last string fragment begins after the 80
> character threshold.
> Signed-off-by: Allain Legacy <allain.legacy at windriver.com>
> --- a/devtools/checkpatches.sh
> +++ b/devtools/checkpatches.sh
> @@ -45,7 +45,7 @@ options="$options --ignore=LINUX_VERSION_CODE,FILE_PATH_CHANGES,\
Applied and gathered LONG_LINE_STRING and SPLIT_STRING on the same line.
More information about the dev