8f44c39251
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> |
||
---|---|---|
.. | ||
cx25840 | ||
m5mols | ||
s5c73m3 | ||
smiapp | ||
soc_camera | ||
ad5820.c | ||
ad9389b.c | ||
adp1653.c | ||
adv7170.c | ||
adv7175.c | ||
adv7180.c | ||
adv7183_regs.h | ||
adv7183.c | ||
adv7343_regs.h | ||
adv7343.c | ||
adv7393_regs.h | ||
adv7393.c | ||
adv7511.c | ||
adv7604.c | ||
adv7842.c | ||
ak881x.c | ||
aptina-pll.c | ||
aptina-pll.h | ||
as3645a.c | ||
bt819.c | ||
bt856.c | ||
bt866.c | ||
cs53l32a.c | ||
cs3308.c | ||
cs5345.c | ||
ir-kbd-i2c.c | ||
Kconfig | ||
ks0127.c | ||
ks0127.h | ||
lm3560.c | ||
lm3646.c | ||
m52790.c | ||
Makefile | ||
ml86v7667.c | ||
msp3400-driver.c | ||
msp3400-driver.h | ||
msp3400-kthreads.c | ||
mt9m032.c | ||
mt9m111.c | ||
mt9p031.c | ||
mt9t001.c | ||
mt9v011.c | ||
mt9v032.c | ||
noon010pc30.c | ||
ov2659.c | ||
ov7640.c | ||
ov7670.c | ||
ov9650.c | ||
s5k4ecgx.c | ||
s5k5baf.c | ||
s5k6a3.c | ||
s5k6aa.c | ||
saa711x_regs.h | ||
saa717x.c | ||
saa6588.c | ||
saa6752hs.c | ||
saa7110.c | ||
saa7115.c | ||
saa7127.c | ||
saa7185.c | ||
smiapp-pll.c | ||
smiapp-pll.h | ||
sony-btf-mpx.c | ||
sr030pc30.c | ||
tc358743_regs.h | ||
tc358743.c | ||
tda7432.c | ||
tda9840.c | ||
tea6415c.c | ||
tea6415c.h | ||
tea6420.c | ||
tea6420.h | ||
ths7303.c | ||
ths8200_regs.h | ||
ths8200.c | ||
tlv320aic23b.c | ||
tvaudio.c | ||
tvp514x_regs.h | ||
tvp514x.c | ||
tvp5150_reg.h | ||
tvp5150.c | ||
tvp7002_reg.h | ||
tvp7002.c | ||
tw2804.c | ||
tw9903.c | ||
tw9906.c | ||
uda1342.c | ||
upd64031a.c | ||
upd64083.c | ||
vp27smpx.c | ||
vpx3220.c | ||
vs6624_regs.h | ||
vs6624.c | ||
wm8739.c | ||
wm8775.c |