linux/drivers/media/pci/ivtv
Mauro Carvalho Chehab 67ccf860a0 [media] ivtv: 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:11:09 -02:00
..
ivtv-alsa-main.c [media] ivtv: don't break long lines 2016-10-21 09:11:09 -02:00
ivtv-alsa-mixer.c [media] ivtv: use v4l2_g/s_ctrl instead of the g/s_ctrl ops 2016-07-12 11:16:44 -03:00
ivtv-alsa-mixer.h
ivtv-alsa-pcm.c [media] pci: constify snd_pcm_ops structures 2016-09-19 16:18:42 -03:00
ivtv-alsa-pcm.h [media] cx18/ivtv: fix regression: remove __init from a non-init function 2013-02-11 18:18:14 -02:00
ivtv-alsa.h
ivtv-cards.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
ivtv-cards.h
ivtv-controls.c [media] cx231xx: constify cx2341x_handler_ops structures 2015-12-03 11:27:08 -02:00
ivtv-controls.h [media] cx231xx: constify cx2341x_handler_ops structures 2015-12-03 11:27:08 -02:00
ivtv-driver.c [media] ivtv: don't break long lines 2016-10-21 09:11:09 -02:00
ivtv-driver.h [media] ivtv/cx18: use the new mask variants of the v4l2_device_call_* defines 2016-04-20 16:09:31 -03:00
ivtv-fileops.c [media] include/media: split I2C headers from V4L2 core 2015-11-17 06:57:11 -02:00
ivtv-fileops.h
ivtv-firmware.c [media] ivtv: don't break long lines 2016-10-21 09:11:09 -02:00
ivtv-firmware.h
ivtv-gpio.c [media] pci/ivtv/ivtv-gpio: Remove compat control ops 2015-07-06 08:25:56 -03:00
ivtv-gpio.h
ivtv-i2c.c [media] rc: Hauppauge z8f0811 can decode RC6 2016-09-22 11:44:52 -03:00
ivtv-i2c.h
ivtv-ioctl.c [media] ivtv/cx18: fix inverted pixel aspect ratio 2015-12-18 13:30:18 -02:00
ivtv-ioctl.h [media] v4l2: pass std by value to the write-only s_std ioctl 2013-03-24 06:47:00 -03:00
ivtv-irq.c kthread: kthread worker API cleanup 2016-10-11 15:06:33 -07:00
ivtv-irq.h
ivtv-mailbox.c
ivtv-mailbox.h
ivtv-queue.c [media] ivtv: steal could be NULL 2016-02-23 07:22:22 -03:00
ivtv-queue.h
ivtv-routing.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
ivtv-routing.h
ivtv-streams.c [media] ivtv: disable fbuf support if ivtvfb isn't loaded 2015-04-02 23:57:51 -03:00
ivtv-streams.h [media] ivtv: embed video_device 2015-04-02 22:34:55 -03:00
ivtv-udma.c mm/gup: Switch all callers of get_user_pages() to not pass tsk/mm 2016-02-16 10:11:12 +01:00
ivtv-udma.h
ivtv-vbi.c [media] drivers/media/pci: use memmove for overlapping regions 2013-02-05 19:26:38 -02:00
ivtv-vbi.h
ivtv-version.h
ivtv-yuv.c [media] ivtv: don't break long lines 2016-10-21 09:11:09 -02:00
ivtv-yuv.h
ivtvfb.c [media] ivtv: don't break long lines 2016-10-21 09:11:09 -02:00
Kconfig x86/mm/pat, drivers/media/ivtv: Use arch_phys_wc_add() and require PAT disabled 2015-06-18 11:23:41 +02:00
Makefile