Mauro Carvalho Chehab
4bd69e7b9c
[media] dvb-frontends: don't break long lines
...
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>
2016-10-21 10:01:56 -02:00
..
2016-06-24 11:10:16 -03:00
2015-08-11 12:58:20 -03:00
2015-08-11 07:10:04 -03:00
2012-09-23 20:10:27 -03:00
2016-02-04 16:27:30 -02:00
2016-10-11 15:06:33 -07:00
2014-11-04 18:20:35 -02:00
2016-07-12 13:32:39 -03:00
2016-10-11 15:06:33 -07:00
2014-08-21 15:25:30 -05:00
2016-02-04 16:27:30 -02:00
2014-08-21 15:25:30 -05:00
2016-09-19 16:22:55 -03:00
2016-10-11 15:06:33 -07:00
2016-02-04 16:27:30 -02:00
2016-10-11 15:06:33 -07:00
2016-10-21 10:01:56 -02:00
2016-03-03 06:18:17 -03:00
2016-02-04 16:27:30 -02:00
2016-03-03 06:18:17 -03:00
2016-10-11 15:06:33 -07:00
2016-01-25 12:01:08 -02:00
2016-01-25 12:01:08 -02:00
2016-01-25 12:01:08 -02:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2016-10-11 15:06:33 -07:00
2016-10-21 10:01:56 -02:00
2015-04-08 15:02:07 -03:00
2016-10-21 10:01:56 -02:00
2016-10-11 15:06:33 -07:00
2016-10-21 10:01:56 -02:00
2016-10-11 15:06:33 -07:00
2016-10-21 10:01:56 -02:00
2016-10-11 15:06:33 -07:00
2016-03-03 14:26:55 -03:00
2016-10-11 15:06:33 -07:00
2016-10-21 10:01:56 -02:00
2016-10-11 15:06:33 -07:00
2016-09-22 10:43:09 -03:00
2016-09-22 10:43:09 -03:00
2016-09-22 10:43:09 -03:00
2016-09-22 10:43:09 -03:00
2016-09-22 10:43:09 -03:00
2016-10-11 17:34:10 -07:00
2016-06-07 12:08:12 -03:00
2016-09-22 12:47:57 -03:00
2016-10-11 15:06:33 -07:00
2016-01-25 12:01:08 -02:00
2015-04-08 15:02:07 -03:00
2016-06-24 11:23:59 -03:00
2015-04-08 15:02:07 -03:00
2016-01-25 12:01:08 -02:00
2016-01-25 12:01:08 -02:00
2016-02-04 16:27:30 -02:00
2016-02-04 16:27:30 -02:00
2016-10-11 15:06:33 -07:00
2016-02-04 16:27:30 -02:00
2016-10-11 15:06:33 -07:00
2016-02-04 16:27:30 -02:00
2016-10-11 15:06:33 -07:00
2016-02-04 16:27:30 -02:00
2015-04-28 09:30:33 -03:00
2016-02-23 07:24:17 -03:00
2015-04-08 15:02:07 -03:00
2016-01-25 12:01:08 -02:00
2013-04-22 16:58:16 -03:00
2015-10-03 11:44:32 -03:00
2016-10-11 15:06:33 -07:00
2016-08-24 16:22:16 -03:00
2015-06-09 17:47:35 -03:00
2013-03-21 10:26:50 -03:00
2016-10-11 15:06:33 -07:00
2016-10-21 10:01:56 -02:00
2016-10-11 15:06:33 -07:00
2016-02-04 16:27:30 -02:00
2016-10-11 15:06:33 -07:00
2016-10-21 08:51:31 -02:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2016-10-11 15:06:33 -07:00
2015-06-09 17:47:35 -03:00
2016-02-04 16:27:30 -02:00
2016-10-11 15:06:33 -07:00
2016-09-19 16:22:55 -03:00
2016-10-11 15:06:33 -07:00
2016-09-19 16:22:55 -03:00
2016-10-11 15:06:33 -07:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2015-04-08 15:02:07 -03:00
2013-11-08 09:45:38 -02:00
2015-04-08 15:02:07 -03:00
2016-09-19 16:22:55 -03:00
2016-10-11 15:06:33 -07:00
2016-09-22 12:56:35 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2016-10-11 15:06:33 -07:00
2014-12-22 17:52:20 -02:00
2016-10-21 10:01:56 -02:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2016-10-11 15:06:33 -07:00
2016-09-22 12:52:04 -03:00
2015-04-08 15:05:12 -03:00
2016-02-04 16:27:30 -02:00
2016-10-11 15:06:33 -07:00
2016-02-04 16:27:28 -02:00
2016-10-11 15:06:33 -07:00
2016-10-11 15:06:33 -07:00
2015-08-11 14:59:05 -03:00
2016-10-11 15:06:33 -07:00
2015-12-04 10:38:59 -02:00
2016-10-11 15:06:33 -07:00
2015-12-04 10:38:59 -02:00
2016-10-11 15:06:33 -07:00
2016-07-08 16:58:05 -03:00
2016-07-08 16:58:41 -03:00
2015-06-10 11:10:27 -03:00
2016-10-21 10:01:56 -02:00
2016-10-11 15:06:33 -07:00
2016-06-07 15:46:47 -03:00
2015-06-09 17:47:35 -03:00
2015-06-09 17:47:35 -03:00
2016-09-05 15:26:30 -03:00
2016-10-11 15:06:33 -07:00
2016-06-07 15:46:47 -03:00
2016-06-07 15:46:47 -03:00
2016-06-07 15:41:58 -03:00
2016-03-03 09:26:05 -03:00
2016-06-07 15:39:01 -03:00
2016-03-03 09:26:05 -03:00
2016-10-21 10:01:56 -02:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-10-21 10:01:56 -02:00
2015-04-08 15:02:07 -03:00
2016-10-21 08:51:32 -02:00
2015-04-08 15:02:07 -03:00
2016-10-21 10:01:56 -02:00
2015-04-08 15:02:07 -03:00
2016-10-21 10:01:56 -02:00
2015-04-08 15:02:07 -03:00
2016-07-08 17:02:33 -03:00
2016-07-08 17:02:33 -03:00
2015-02-03 16:30:26 -02:00
2016-06-09 08:48:46 -03:00
2016-08-30 19:13:52 +02:00
2016-05-04 22:40:02 +02:00
2016-07-08 17:02:53 -03:00
2016-05-04 22:40:02 +02:00
2016-10-21 10:01:56 -02:00
2016-10-11 15:06:33 -07:00
2016-10-21 10:01:56 -02:00
2016-10-11 15:06:33 -07:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-10-21 10:01:56 -02:00
2016-10-11 15:06:33 -07:00
2016-10-21 10:01:56 -02:00
2016-10-11 15:06:33 -07:00
2016-10-21 10:01:56 -02:00
2016-10-11 15:06:33 -07:00
2016-09-22 12:55:49 -03:00
2016-09-22 12:56:35 -03:00
2016-09-22 12:55:49 -03:00
2016-07-08 16:53:55 -03:00
2016-07-08 16:54:28 -03:00
2015-05-12 13:16:37 -03:00
2014-09-02 15:06:49 -03:00
2015-08-11 12:58:20 -03:00
2016-10-11 15:06:33 -07:00
2016-10-21 10:01:56 -02:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-02-03 18:16:18 -02:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-09-19 16:22:55 -03:00
2016-10-11 15:06:33 -07:00
2015-11-17 06:45:05 -02:00
2015-11-17 06:45:05 -02:00
2016-09-19 16:22:55 -03:00
2015-11-17 06:41:53 -02:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2016-10-21 10:01:56 -02:00
2016-10-11 15:06:33 -07:00
2016-10-21 10:01:56 -02:00
2015-04-08 15:02:07 -03:00
2016-10-21 10:01:56 -02:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2016-02-04 16:27:30 -02:00
2016-10-11 15:06:33 -07:00
2016-02-23 07:21:42 -03:00
2013-01-06 11:08:44 -02:00
2016-10-21 10:01:56 -02:00
2016-10-11 15:06:33 -07:00
2016-09-19 16:22:55 -03:00
2016-10-11 15:06:33 -07:00
2016-02-01 07:31:17 -02:00
2016-09-19 16:22:55 -03:00
2016-02-01 07:31:17 -02:00
2016-02-04 16:27:30 -02:00
2014-09-23 17:04:00 -03:00
2016-09-19 16:22:55 -03:00
2015-04-08 15:02:07 -03:00
2016-09-19 16:22:55 -03:00
2015-04-08 15:02:07 -03:00
2015-04-08 15:02:07 -03:00
2016-02-09 08:56:42 -02:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2015-11-17 06:43:59 -02:00
2016-09-19 16:22:55 -03:00
2015-04-08 15:02:07 -03:00
2016-10-21 10:01:56 -02:00
2016-10-21 10:01:56 -02:00
2016-10-21 10:01:56 -02:00
2016-10-11 15:06:33 -07:00
2015-08-11 07:34:58 -03:00
2016-02-04 16:27:30 -02:00
2015-08-11 07:10:53 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2014-07-04 15:33:46 -03:00
2016-09-19 16:22:55 -03:00
2016-10-11 15:06:33 -07:00
2015-12-04 10:38:59 -02:00
2016-09-19 16:22:55 -03:00
2016-10-11 15:06:33 -07:00
2016-09-19 16:22:55 -03:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-10-21 10:01:56 -02:00
2015-04-08 15:02:07 -03:00
2016-10-21 10:01:56 -02:00
2016-10-11 15:06:33 -07:00
2016-10-21 10:01:56 -02:00
2016-10-11 15:06:33 -07:00
2016-05-06 08:44:17 -03:00
2015-04-08 15:02:07 -03:00