diff options
| author | Brian Norris <briannorris@chromium.org> | 2025-10-17 13:37:11 -0700 |
|---|---|---|
| committer | Jonathan Corbet <corbet@lwn.net> | 2025-10-21 14:36:33 -0600 |
| commit | 7159cf9fad12e827883104715675856aab20b00d (patch) | |
| tree | 200198c784f8bf7a0c96a4b2fb52db269f25c048 /Documentation/dev-tools | |
| parent | d0ef999061213a45188bb03d2b185158bfa22909 (diff) | |
docs: checkpatch: Align block comment style
Ironically, the block style comments in the checkpatch documentation are
not aligned properly. Correct that.
Signed-off-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20251017203719.1554224-1-briannorris@chromium.org>
Diffstat (limited to 'Documentation/dev-tools')
| -rw-r--r-- | Documentation/dev-tools/checkpatch.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/dev-tools/checkpatch.rst b/Documentation/dev-tools/checkpatch.rst index d5c47e560324..d7fe023b3080 100644 --- a/Documentation/dev-tools/checkpatch.rst +++ b/Documentation/dev-tools/checkpatch.rst @@ -461,16 +461,16 @@ Comments line comments is:: /* - * This is the preferred style - * for multi line comments. - */ + * This is the preferred style + * for multi line comments. + */ The networking comment style is a bit different, with the first line not empty like the former:: /* This is the preferred comment style - * for files in net/ and drivers/net/ - */ + * for files in net/ and drivers/net/ + */ See: https://www.kernel.org/doc/html/latest/process/coding-style.html#commenting |