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.

scripts/kernel-doc: don't add not needed new lines

This helps comparing kernel-doc output with the new .py version
of it.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/6b036ef7d746f26d7d0044626b04d1f0880a2188.1740387599.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Mauro Carvalho Chehab and committed by
Jonathan Corbet
b9609ecb 99326b21

+4
+4
scripts/kernel-doc
··· 760 760 if ($block) { 761 761 $output .= highlight_block($block); 762 762 } 763 + 764 + $output =~ s/^\n+//g; 765 + $output =~ s/\n+$//g; 766 + 763 767 foreach $line (split "\n", $output) { 764 768 print $lineprefix . $line . "\n"; 765 769 }