linux/drivers/media/usb/dvb-usb
Mauro Carvalho Chehab f319ed911c [media] dvb-usb: 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 09:39:51 -02:00
..
Kconfig [media] dvb-usb: avoid link error with dib3000m{b,c| 2016-09-22 12:38:27 -03:00
Makefile [media] dvb-usb: split out common parts of dibusb 2016-09-22 12:37:43 -03:00
a800.c [media] media: change email address 2016-01-25 12:01:08 -02:00
af9005-fe.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
af9005-remote.c
af9005-script.h
af9005.c [media] af9005: don't do DMA on stack 2016-10-14 12:34:08 -03:00
af9005.h
az6027.c [media] az6027: Add support for Elgato EyeTV Sat v3 2016-05-06 15:53:23 -03:00
az6027.h
cinergyT2-core.c [media] dvb-usb: don't break long lines 2016-10-21 09:39:51 -02:00
cinergyT2-fe.c [media] cinergyT2-fe: don't do DMA on stack 2016-10-14 12:36:52 -03:00
cinergyT2.h
cxusb.c [media] cxusb: don't do DMA on stack 2016-10-14 12:37:19 -03:00
cxusb.h [media] cxusb: don't do DMA on stack 2016-10-14 12:37:19 -03:00
dib07x0.h
dib0700.h [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
dib0700_core.c [media] dvb-usb: don't break long lines 2016-10-21 09:39:51 -02:00
dib0700_devices.c [media] dvb-usb: don't break long lines 2016-10-21 09:39:51 -02:00
dibusb-common.c Linux 4.9-rc1 2016-10-17 12:10:40 -02:00
dibusb-mb.c [media] media: change email address 2016-01-25 12:01:08 -02:00
dibusb-mc-common.c [media] dvb-usb: split out common parts of dibusb 2016-09-22 12:37:43 -03:00
dibusb-mc.c [media] media: change email address 2016-01-25 12:01:08 -02:00
dibusb.h [media] dibusb: don't do DMA on stack 2016-10-14 12:38:34 -03:00
digitv.c [media] digitv: handle error code on RC query 2016-10-14 12:52:27 -03:00
digitv.h [media] digitv: don't do DMA on stack 2016-10-14 12:40:47 -03:00
dtt200u-fe.c [media] dtt200u-fe: handle errors on USB control messages 2016-10-14 12:41:58 -03:00
dtt200u.c [media] dtt200u: handle USB control message errors 2016-10-14 12:43:37 -03:00
dtt200u.h [media] media: change email address 2016-01-25 12:01:08 -02:00
dtv5100.c [media] dtv5100: don't do DMA on stack 2016-10-14 12:44:03 -03:00
dtv5100.h
dvb-usb-common.h [media] media: change email address 2016-01-25 12:01:08 -02:00
dvb-usb-dvb.c [media] dvb-usb: don't break long lines 2016-10-21 09:39:51 -02:00
dvb-usb-firmware.c [media] dvb-usb: don't break long lines 2016-10-21 09:39:51 -02:00
dvb-usb-i2c.c [media] media: change email address 2016-01-25 12:01:08 -02:00
dvb-usb-init.c [media] media: change email address 2016-01-25 12:01:08 -02:00
dvb-usb-remote.c [media] media: change email address 2016-01-25 12:01:08 -02:00
dvb-usb-urb.c [media] media: change email address 2016-01-25 12:01:08 -02:00
dvb-usb.h [media] dvb-usb: warn if return value for USB read/write routines is not checked 2016-10-14 12:52:31 -03:00
dw2102.c [media] dvb-usb: don't break long lines 2016-10-21 09:39:51 -02:00
dw2102.h
friio-fe.c [media] friio-fe: remove get_frontend() callback 2016-02-04 16:27:28 -02:00
friio.c [media] dvb-usb: don't break long lines 2016-10-21 09:39:51 -02:00
friio.h
gp8psk-fe.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
gp8psk.c [media] dvb-usb: don't break long lines 2016-10-21 09:39:51 -02:00
gp8psk.h
m920x.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
m920x.h
nova-t-usb2.c [media] nova-t-usb2: handle error code on RC query 2016-10-14 12:52:25 -03:00
opera1.c [media] dvb-usb: don't break long lines 2016-10-21 09:39:51 -02:00
pctv452e.c [media] pctv452e: fix semicolon.cocci warnings 2016-10-14 12:52:30 -03:00
technisat-usb2.c [media] dvb-usb: don't break long lines 2016-10-21 09:39:51 -02:00
ttusb2.c [media] media: change email address 2016-01-25 12:01:08 -02:00
ttusb2.h
umt-010.c [media] media: change email address 2016-01-25 12:01:08 -02:00
usb-urb.c [media] media: change email address 2016-01-25 12:01:08 -02:00
vp702x-fe.c [media] media: change email address 2016-01-25 12:01:08 -02:00
vp702x.c [media] media: change email address 2016-01-25 12:01:08 -02:00
vp702x.h
vp7045-fe.c [media] media: change email address 2016-01-25 12:01:08 -02:00
vp7045.c [media] media: change email address 2016-01-25 12:01:08 -02:00
vp7045.h [media] media: change email address 2016-01-25 12:01:08 -02:00