mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 06:04:14 +08:00
6beb1388a0
Due to the 80-cols restrictions, and latter due to checkpatch warnings, several strings were broken into multiple lines. This is not considered a good practice anymore, as it makes harder to grep for strings at the source code. As we're right now fixing other drivers due to KERN_CONT, we need to be able to identify what printk strings don't end with a "\n". It is a way easier to detect those if we don't break long lines. So, join those continuation lines. The patch was generated via the script below, and manually adjusted if needed. </script> use Text::Tabs; while (<>) { if ($next ne "") { $c=$_; if ($c =~ /^\s+\"(.*)/) { $c2=$1; $next =~ s/\"\n$//; $n = expand($next); $funpos = index($n, '('); $pos = index($c2, '",'); if ($funpos && $pos > 0) { $s1 = substr $c2, 0, $pos + 2; $s2 = ' ' x ($funpos + 1) . substr $c2, $pos + 2; $s2 =~ s/^\s+//; $s2 = ' ' x ($funpos + 1) . $s2 if ($s2 ne ""); print unexpand("$next$s1\n"); print unexpand("$s2\n") if ($s2 ne ""); } else { print "$next$c2\n"; } $next=""; next; } else { print $next; } $next=""; } else { if (m/\"$/) { if (!m/\\n\"$/) { $next=$_; next; } } } print $_; } </script> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> |
||
---|---|---|
.. | ||
cx18-alsa-main.c | ||
cx18-alsa-mixer.c | ||
cx18-alsa-mixer.h | ||
cx18-alsa-pcm.c | ||
cx18-alsa-pcm.h | ||
cx18-alsa.h | ||
cx18-audio.c | ||
cx18-audio.h | ||
cx18-av-audio.c | ||
cx18-av-core.c | ||
cx18-av-core.h | ||
cx18-av-firmware.c | ||
cx18-av-vbi.c | ||
cx18-cards.c | ||
cx18-cards.h | ||
cx18-controls.c | ||
cx18-controls.h | ||
cx18-driver.c | ||
cx18-driver.h | ||
cx18-dvb.c | ||
cx18-dvb.h | ||
cx18-fileops.c | ||
cx18-fileops.h | ||
cx18-firmware.c | ||
cx18-firmware.h | ||
cx18-gpio.c | ||
cx18-gpio.h | ||
cx18-i2c.c | ||
cx18-i2c.h | ||
cx18-io.c | ||
cx18-io.h | ||
cx18-ioctl.c | ||
cx18-ioctl.h | ||
cx18-irq.c | ||
cx18-irq.h | ||
cx18-mailbox.c | ||
cx18-mailbox.h | ||
cx18-queue.c | ||
cx18-queue.h | ||
cx18-scb.c | ||
cx18-scb.h | ||
cx18-streams.c | ||
cx18-streams.h | ||
cx18-vbi.c | ||
cx18-vbi.h | ||
cx18-version.h | ||
cx18-video.c | ||
cx18-video.h | ||
cx23418.h | ||
Kconfig | ||
Makefile |