Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Brian Norris and committed by
Jonathan Corbet
7159cf9f d0ef9990

+5 -5
+5 -5
Documentation/dev-tools/checkpatch.rst
··· 461 461 line comments is:: 462 462 463 463 /* 464 - * This is the preferred style 465 - * for multi line comments. 466 - */ 464 + * This is the preferred style 465 + * for multi line comments. 466 + */ 467 467 468 468 The networking comment style is a bit different, with the first line 469 469 not empty like the former:: 470 470 471 471 /* This is the preferred comment style 472 - * for files in net/ and drivers/net/ 473 - */ 472 + * for files in net/ and drivers/net/ 473 + */ 474 474 475 475 See: https://www.kernel.org/doc/html/latest/process/coding-style.html#commenting 476 476