Lines Matching +full:slice +full:- +full:per +full:- +full:line

1 .. SPDX-License-Identifier: GPL-2.0-only
27 - -q, --quiet
31 - -v, --verbose
35 - --no-tree
39 - --no-signoff
41 Disable the 'Signed-off-by' line check. The sign-off is a simple line at
43 or otherwise have the right to pass it on as an open-source patch.
47 Signed-off-by: Random J Developer <random@developer.example.org>
49 Setting this flag effectively stops a message for a missing signed-off-by
50 line in a patch context.
52 - --patch
57 - --emacs
60 from the error in the compile window directly to the offending line in the
63 - --terse
65 Output only one line per report.
67 - --showfile
71 - -g, --git
77 - <rev>
78 - <rev>^
79 - <rev>~n
83 - <rev1>..<rev2>
84 - <rev1>...<rev2>
85 - <rev>-<count>
87 - -f, --file
92 - --subjective, --strict
97 - --list-types
105 - --types TYPE(,TYPE2...)
111 ./scripts/checkpatch.pl mypatch.patch --types EMAIL_SUBJECT,BRACES
113 - --ignore TYPE(,TYPE2...)
119 ./scripts/checkpatch.pl mypatch.patch --ignore EMAIL_SUBJECT,BRACES
121 - --show-types
126 - --max-line-length=n
128 Set the max line length (default 100). If a line exceeds the specified
134 file contexts, the --strict flag must also be enabled.
136 - --min-conf-desc-length=n
140 - --tab-size=n
144 - --root=PATH
151 - --no-summary
153 Suppress the per file summary.
155 - --mailback
160 - --summary-file
164 - --debug KEY=[0|1]
169 - --fix
172 <inputfile>.EXPERIMENTAL-checkpatch-fixes is created which has the
175 - --fix-inplace
177 EXPERIMENTAL - Similar to --fix but input file is overwritten with fixes.
182 - --ignore-perl-version
187 - --codespell
191 - --codespellfile
196 - --typedefsfile
200 - --color[=WHEN]
205 - --kconfig-prefix=WORD
209 - -h, --help, --version
219 - ERROR
224 - WARNING
229 - CHECK
243 ----------------
250 See: https://www.kernel.org/doc/html/latest/core-api/memory-allocation.html
263 See: https://www.kernel.org/doc/html/latest/process/coding-style.html#allocating-memory
269 See: https://www.kernel.org/doc/html/latest/core-api/memory-allocation.html
273 ---------
290 See: https://www.kernel.org/doc/html/latest/process/deprecated.html#bug-and-bug-on
299 …nel.org/doc/html/latest/process/deprecated.html#simple-strtol-simple-strtoll-simple-strtoul-simple
335 See: https://lore.kernel.org/lkml/1400106425.12666.6.camel@joe-AO725/
339 old flavourful RCU APIs by their new vanilla-RCU counterparts.
343 See: https://www.kernel.org/doc/html/latest/RCU/whatisRCU.html#full-list-of-rcu-apis
357 See: https://www.kernel.org/doc/html/latest/driver-api/driver-model/device.html#attributes
366 See: https://www.kernel.org/doc/html/latest/driver-api/driver-model/device.html#attributes
375 See: https://www.kernel.org/doc/html/latest/driver-api/driver-model/device.html#attributes
384 See: https://www.kernel.org/doc/html/latest/driver-api/driver-model/device.html#attributes
395 &zero -> SYSCTL_ZERO
396 &one -> SYSCTL_ONE
397 &int_max -> SYSCTL_INT_MAX
401 1. https://lore.kernel.org/lkml/20190430180111.10688-1-mcroce@redhat.com/
402 2. https://lore.kernel.org/lkml/20190531131422.14970-1-mcroce@redhat.com/
428 See: https://lore.kernel.org/lkml/20080320201723.b87b3732.akpm@linux-foundation.org/
432 prevent warnings on conversion of device->sem to device->mutex.
446 See: https://www.kernel.org/doc/html/latest/locking/lockdep-design.html#annotations
457 --------
460 The comment style is incorrect. The preferred style for multi-
461 line comments is::
465 * for multi line comments.
468 The networking comment style is a bit different, with the first line
475 See: https://www.kernel.org/doc/html/latest/process/coding-style.html#commenting
478 C99 style single line comments (//) should not be used.
481 See: https://www.kernel.org/doc/html/latest/process/coding-style.html#commenting
487 See: https://lore.kernel.org/lkml/20200401101714.44781-1-elver@google.com/
503 PHY modes "rgmii", "rgmii-rxid" and "rgmii-txid" modes require the clock
506 internally in the MAC or PHY), "rgmii-id" is the correct PHY mode.
509 --------------
512 The signed-off-by line does not fall in line with the standards
515 …//www.kernel.org/doc/html/latest/process/submitting-patches.html#developer-s-certificate-of-origin
531 infront of the log line is enough.
537 … See: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#describe-your-changes
541 subject line. A good subject line summarizes the change that
544 … See: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#describe-your-changes
547 The author's email does not match with that in the Signed-off-by:
548 line(s). This can be sometimes caused due to an improperly configured
553 - The email names do not match.
554 - The email addresses do not match.
555 - The email subaddresses do not match.
556 - The email comments do not match.
559 The patch is missing a Signed-off-by line. A signed-off-by
560 line should be added according to Developer's certificate of
563 ….kernel.org/doc/html/latest/process/submitting-patches.html#sign-your-work-the-developer-s-certifi…
567 required that a simple sign off line should be present at the
572 ….kernel.org/doc/html/latest/process/submitting-patches.html#sign-your-work-the-developer-s-certifi…
580 See: https://lore.kernel.org/lkml/20150611134006.9df79a893e3636019ad2759e@linux-foundation.org/
584 have a Change-Id like::
586 Change-Id: Ic8aaa0728a43936cd4c6e1ed590e01ba8f0fbf5b
587 Signed-off-by: A. U. Thor <author@example.com>
589 The Change-Id line must be removed before submitting.
593 commit <12+ chars of sha1> ("<title line>")
602 … See: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#describe-your-changes
609 … See: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#describe-your-changes
613 ----------------
630 See: https://lore.kernel.org/lkml/1365563834.27174.12.camel@joe-AO722/
641 Indentation and Line Breaks
642 ---------------------------
649 See: https://www.kernel.org/doc/html/latest/process/coding-style.html#indentation
681 See: https://www.kernel.org/doc/html/latest/process/coding-style.html#indentation
684 The line has exceeded the specified maximum length.
685 To use a different maximum line length, the --max-line-length=n option
688 Earlier, the default line length was 80 columns. Commit bdc48fa11e46
689 ("checkpatch/coding-style: deprecate 80-column warning") increased the
693 …See: https://www.kernel.org/doc/html/latest/process/coding-style.html#breaking-long-lines-and-stri…
696 A string starts before but extends beyond the maximum line length.
697 To use a different maximum line length, the --max-line-length=n option
700 …See: https://www.kernel.org/doc/html/latest/process/coding-style.html#breaking-long-lines-and-stri…
703 A comment starts before but extends beyond the maximum line length.
704 To use a different maximum line length, the --max-line-length=n option
707 …See: https://www.kernel.org/doc/html/latest/process/coding-style.html#breaking-long-lines-and-stri…
718 struct_identifier->member[index].
724 If fixing the multiple line dereferencing leads to an 80 column
731 member1->member2->member3.foo1;
732 member1->member2->member3.foo2;
734 then store the member1->member2->member3 part in a temporary variable.
740 on a single line.
744 on the next line.
756 ------------------------------
795 read-only. The __read_mostly annotation thus should be removed.
804 non-deterministic builds.
806 See: https://www.kernel.org/doc/html/latest/kbuild/reproducible-builds.html#timestamps
854 marker can be virtually anywhere on the line, except right after
858 See: https://lore.kernel.org/lkml/1377655732.3619.19.camel@joe-AO722/
862 do - while block. Same should also be the case for macros
871 See: https://www.kernel.org/doc/html/latest/process/coding-style.html#macros-enums-and-rtl
896 See: https://lore.kernel.org/lkml/1399671106.2912.21.camel@joe-AO725/
899 If function-like macros do not utilize a parameter, it might result
908 WARNING: Argument 'a' is not used in function-like macro.
910 See: https://www.kernel.org/doc/html/latest/process/coding-style.html#macros-enums-and-rtl
913 For the multi-statement macros, it is necessary to use the do-while
914 loop to avoid unpredictable code paths. The do-while loop helps to
916 function-like macro can be used as a function only.
919 do-while loop. Although the code is syntactically correct but using
920 the do-while loop is redundant. So remove the do-while loop for single
929 -----------------------
934 See: https://www.kernel.org/doc/html/latest/process/coding-style.html#naming
955 Note that this does not work with -f (--file) checkpatch option
999 Multiple assignments on a single line makes the code unnecessarily
1000 complicated. So on a single line assign value to a single variable
1014 -----------
1018 Typically only three permissions are used - 0644 (RW), 0444 (RO)
1031 any local user to write arbitrary values into device registers - a
1034 See: https://lore.kernel.org/linux-arm-kernel/cover.1296818921.git.segoon@openwall.com/
1042 understand than their symbolic counterparts because many command-line
1049 …See: https://lore.kernel.org/lkml/CA+55aFw5v23T-zvDZp-MmD_EYxF8WbafwwB59934FV7g21uMGQ@mail.gmail.c…
1053 --------------------
1057 line but should follow the operand at the previous line.
1061 The preferred way is to put the opening brace last on the line,
1068 This applies for all non-functional blocks.
1070 opening brace at the beginning of the next line, thus::
1077 See: https://www.kernel.org/doc/html/latest/process/coding-style.html#placing-braces-and-spaces
1087 2. At the beginning of a line for slice initialisers::
1106 `else {` should follow the closing block `}` on the same line.
1108 See: https://www.kernel.org/doc/html/latest/process/coding-style.html#placing-braces-and-spaces
1114 See: https://www.kernel.org/doc/html/latest/process/coding-style.html#spaces
1118 next line. For any non-functional block it should be on the same line
1121 See: https://www.kernel.org/doc/html/latest/process/coding-style.html#placing-braces-and-spaces
1133 See: https://www.kernel.org/doc/html/latest/process/coding-style.html#spaces
1138 See: https://www.kernel.org/doc/html/latest/process/coding-style.html#spaces
1145 See: https://www.kernel.org/doc/html/latest/process/coding-style.html#spaces
1152 (foo->bar)();
1156 foo->bar();
1160 if ((foo->bar) && (foo->baz))
1165 if (foo->bar && foo->baz)
1170 &(foo->bar)
1171 *(foo->bar)
1175 &foo->bar
1176 *foo->bar
1179 while should follow the closing bracket on the same line::
1185 See: https://www.kernel.org/doc/html/latest/process/coding-style.html#placing-braces-and-spaces
1189 ------
1212 For DOS-formatted patches, there are extra ^M symbols at the end of
1213 the line. These should be removed.
1216 DT bindings moved to a json-schema based format instead of
1219 See: https://www.kernel.org/doc/html/latest/devicetree/bindings/writing-schema.html
1226 DT only tree created with git-filter-branch.
1228 …//www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html#i-for-patch-submitters
1245 The patch file does not appear to be in unified-diff format. Please
1256 See: https://www.kernel.org/doc/html/latest/process/license-rules.html