1. 21 Oct, 2016 37 commits
    • Mauro Carvalho Chehab's avatar
      [media] meye: don't break long lines · f8a3dcb5
      Mauro Carvalho Chehab authored
      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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      f8a3dcb5
    • Mauro Carvalho Chehab's avatar
      [media] ivtv: don't break long lines · 67ccf860
      Mauro Carvalho Chehab authored
      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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      67ccf860
    • Mauro Carvalho Chehab's avatar
      [media] dm1105: don't break long lines · 0e8aebb5
      Mauro Carvalho Chehab authored
      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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      0e8aebb5
    • Mauro Carvalho Chehab's avatar
      [media] ddbridge: don't break long lines · 935747ff
      Mauro Carvalho Chehab authored
      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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      935747ff
    • Mauro Carvalho Chehab's avatar
      [media] cx88: don't break long lines · e318e584
      Mauro Carvalho Chehab authored
      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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      e318e584
    • Mauro Carvalho Chehab's avatar
      [media] cx23885: don't break long lines · 07ab29e1
      Mauro Carvalho Chehab authored
      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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      07ab29e1
    • Mauro Carvalho Chehab's avatar
      [media] cx18: don't break long lines · 6beb1388
      Mauro Carvalho Chehab authored
      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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      6beb1388
    • Mauro Carvalho Chehab's avatar
      [media] bt8xx: don't break long lines · 652fd6ea
      Mauro Carvalho Chehab authored
      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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      652fd6ea
    • Mauro Carvalho Chehab's avatar
      [media] b2c2: don't break long lines · d6376f0e
      Mauro Carvalho Chehab authored
      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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      d6376f0e
    • Mauro Carvalho Chehab's avatar
      [media] soc_camera: don't break long lines · 8f44c392
      Mauro Carvalho Chehab authored
      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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      8f44c392
    • Mauro Carvalho Chehab's avatar
      [media] smiapp: don't break long lines · 4b68f05e
      Mauro Carvalho Chehab authored
      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>
      Acked-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      4b68f05e
    • Mauro Carvalho Chehab's avatar
      [media] cx25840: don't break long lines · 72cc0671
      Mauro Carvalho Chehab authored
      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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      72cc0671
    • Mauro Carvalho Chehab's avatar
      [media] b2c2: don't break long lines · d9942ad0
      Mauro Carvalho Chehab authored
      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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      d9942ad0
    • Mauro Carvalho Chehab's avatar
      [media] nxt6000: use pr_foo() macros instead of printk() · cc5ad2b6
      Mauro Carvalho Chehab authored
      Replace printk() macros by their pr_foo() counterparts and
      use pr_cont() for the continuation lines.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      cc5ad2b6
    • Mauro Carvalho Chehab's avatar
      [media] dvb-pll: use pr_foo() macros instead of printk() · 5479a582
      Mauro Carvalho Chehab authored
      Replace printk() macros by their pr_foo() counterparts.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      5479a582
    • Mauro Carvalho Chehab's avatar
      [media] cx2341x: mark printk continuation lines as such · 6dd23d4c
      Mauro Carvalho Chehab authored
      This driver has printk continuation lines for debugging purposes.
      
      Since commit 56387331 ("Merge branch 'printk-cleanups'"),
      this won't work as expected anymore. So, let's add KERN_CONT to
      those lines.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      6dd23d4c
    • Mauro Carvalho Chehab's avatar
      [media] flexcop-i2c: mark printk continuation lines as such · 7887d371
      Mauro Carvalho Chehab authored
      This driver has printk continuation lines for debugging purposes.
      
      Since commit 56387331 ("Merge branch 'printk-cleanups'"),
      this won't work as expected anymore. So, let's add KERN_CONT to
      those lines.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      7887d371
    • Mauro Carvalho Chehab's avatar
      [media] tvaudio: mark printk continuation lines as such · 178991e0
      Mauro Carvalho Chehab authored
      This driver has printk continuation lines for
      debugging purposes. Since commit 56387331
      ("Merge branch 'printk-cleanups'"), this won't work as expected
      anymore. So, let's add KERN_CONT to those lines.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      178991e0
    • Mauro Carvalho Chehab's avatar
      [media] mt20xx: use %*ph to do small hexa dumps · c5bac2e7
      Mauro Carvalho Chehab authored
      Since commit 56387331 ("Merge branch 'printk-cleanups"),
      continuation lines require KERN_CONT. Instead, let's just
      use %*ph to print the buffer.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      c5bac2e7
    • Mauro Carvalho Chehab's avatar
      [media] imon: use %*ph to do small hexa dumps · 832d40c0
      Mauro Carvalho Chehab authored
      Since commit 56387331 ("Merge branch 'printk-cleanups"),
      continuation lines require KERN_CONT. Instead, let's just
      use %*ph to print the buffer.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      832d40c0
    • Mauro Carvalho Chehab's avatar
      [media] uvc_driver: use KERN_CONT where needed · 69396c4e
      Mauro Carvalho Chehab authored
      Some continuation messages are not using KERN_CONT.
      
      Since commit 56387331 ("Merge branch 'printk-cleanups"),
      this won't work as expected anymore. So, let's add KERN_CONT
      to those lines.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      69396c4e
    • Mauro Carvalho Chehab's avatar
      [media] dvb_filter: use KERN_CONT where needed · 9a9689cf
      Mauro Carvalho Chehab authored
      Some continuation messages are not using KERN_CONT.
      
      Since commit 56387331 ("Merge branch 'printk-cleanups"),
      this won't work as expected anymore. So, let's add KERN_CONT
      to those lines.
      
      While here, add missing log level annotations.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      9a9689cf
    • Mauro Carvalho Chehab's avatar
      [media] dvb_filter: get rid of dead code · 54e0443b
      Mauro Carvalho Chehab authored
      There are lots of stuff here commented out for a really
      long time. Get rid of them. If one wants it again, it
      could always use git log.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      54e0443b
    • Mauro Carvalho Chehab's avatar
      [media] dvb-core: move dvb_filter out of the DVB core · b676e731
      Mauro Carvalho Chehab authored
      The dvb_filter.c can hardly be considered as part of the DVB
      core. More than half of the code there is commented out by
      av7110 and ttusb_dec.
      
      On the latter, just two small helper functions and a struct
      definition is used.
      
      Being part of the core means that it would require an
      amount of work to fix issues in it, like bad printk's
      on it, and to document it on some future, like other kAPI
      headers. It simply not worth the effort for something that
      seems to be deprecated, as no new drivers use it.
      
      So, move it out of the core, by moving it to pci/ttpci
      directory, where av7110 driver is kept, and copy the two
      routines used by ttyusb_dec directly into its code.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      b676e731
    • Mauro Carvalho Chehab's avatar
      [media] dvb-core: get rid of demux optional circular buffer · dd79d27e
      Mauro Carvalho Chehab authored
      There is a provision at the dvb_demux.c to use a vmalloc'ed
      circular buffer, enabled via an extra #ifdef option that it
      is not at Kconfig. Enabling it will only make the Kernel to
      allocate/deallocate such buffer, but no code would actually
      use it. So, no practical effect, except for sparing some
      memory without any good reason.
      
      So, get rid of such dead code.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      dd79d27e
    • Mauro Carvalho Chehab's avatar
      [media] dvb_demux: uncomment a packet loss check code · 801edd6b
      Mauro Carvalho Chehab authored
      There is a commented code that also detects packet loss.
      Uncomment it and put into the DVB_DEMUX_SECTION_LOSS_LOG
      debug Kconfig option.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      801edd6b
    • Mauro Carvalho Chehab's avatar
      [media] dvb_demux: convert an internal ifdef into a Kconfig option · bbd02f6a
      Mauro Carvalho Chehab authored
      There are some ifdefs inside the dvb_demux that are meant to
      enable advanced debug capabilities, at the cost of being very
      verbose.
      
      Keeping those as internal ifdefs is a very bad idea, as it
      doesn't make easy to check if the code there was broken by
      some patch. So, let's add an explicit Kconfig option for it.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      bbd02f6a
    • Mauro Carvalho Chehab's avatar
      [media] dvb-core: use pr_foo() instead of printk() · b3ad24d2
      Mauro Carvalho Chehab authored
      The dvb-core directly calls printk() without using the modern
      printk macros, or using the proper printk levels. Change it
      to use pr_foo().
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      b3ad24d2
    • Mauro Carvalho Chehab's avatar
      [media] tuner-core: use %&ph for small buffer dumps · e428744a
      Mauro Carvalho Chehab authored
      This driver has a printk with a continuation lines for debugging purposes.
       Since commit 56387331 ("Merge branch 'printk-cleanups'"), this
      won't work anymore. We might be using KERNEL_CONT, but it is better
      to just use a single printk line using %*ph for buffer dump.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      e428744a
    • Mauro Carvalho Chehab's avatar
      [media] tuner-core: don't break long lines · 0919f3a0
      Mauro Carvalho Chehab authored
      Due to the 80-cols 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. So, join those continuation
      lines.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      0919f3a0
    • Mauro Carvalho Chehab's avatar
      [media] dvb-core: don't break long lines · 0a93dc1c
      Mauro Carvalho Chehab authored
      Due to the 80-cols 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. So, join those continuation
      lines.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      0a93dc1c
    • Mauro Carvalho Chehab's avatar
      [media] em28xx: convert the remaining printks to pr_foo · 2a96f60e
      Mauro Carvalho Chehab authored
      There are still several places with printk's called directly.
      
      Convert them to pr_foo() macros, except for the debug printk's,
      as those are enabled via modprobe vars.
      
      While here, realign the pr_foo() arguments to match the
      recommended CodingStyle.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      2a96f60e
    • Mauro Carvalho Chehab's avatar
      [media] em28xx: use pr_foo instead of em28xx-specific printk macros · 8314d402
      Mauro Carvalho Chehab authored
      There's no reason to keep using em28xx-specific printk macros
      here. Just use pr_foo().
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      8314d402
    • Mauro Carvalho Chehab's avatar
      [media] em28xx: mark printk continuation lines as such · 3e797416
      Mauro Carvalho Chehab authored
      This driver has a lot of printk continuation lines for
      debugging purposes. Since commit 56387331
      ("Merge branch 'printk-cleanups"), this won't work as expected
      anymore. So, let's add KERN_CONT to those lines.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      3e797416
    • Mauro Carvalho Chehab's avatar
      [media] em28xx: don't break long lines · 5ccb197d
      Mauro Carvalho Chehab authored
      Due to the 80-cols 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. So, join those continuation
      lines.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      5ccb197d
    • Mauro Carvalho Chehab's avatar
      [media] tuner-xc2028: don't break long lines · 2af3eb64
      Mauro Carvalho Chehab authored
      Due to the 80-cols 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. So, join those continuation
      lines.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      2af3eb64
    • Mauro Carvalho Chehab's avatar
      [media] tuner-xc2028: mark printk continuation lines as such · 15c8ffc4
      Mauro Carvalho Chehab authored
      This driver has a lot of printk continuation lines for
      debugging purposes. Since commit 56387331
      ("Merge branch 'printk-cleanups"), this won't work as expected
      anymore. So, let's add KERN_CONT to those lines.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      15c8ffc4
  2. 17 Oct, 2016 2 commits
    • Mauro Carvalho Chehab's avatar
      [media] radio-bcm2048: don't ignore errors · 43ea43b9
      Mauro Carvalho Chehab authored
      Remove this warning:
      
      drivers/staging/media/bcm2048/radio-bcm2048.c: In function 'bcm2048_set_rds_no_lock':
      drivers/staging/media/bcm2048/radio-bcm2048.c:467:6: warning: variable 'err' set but not used [-Wunused-but-set-variable]
        int err;
            ^~~
      
      By returning the error code.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      43ea43b9
    • Mauro Carvalho Chehab's avatar
      Merge tag 'v4.9-rc1' into patchwork · aea98380
      Mauro Carvalho Chehab authored
      Linux 4.9-rc1
      
      * tag 'v4.9-rc1': (13774 commits)
        Linux 4.9-rc1
        score: traps: Add missing include file to fix build error
        fs/super.c: don't fool lockdep in freeze_super() and thaw_super() paths
        fs/super.c: fix race between freeze_super() and thaw_super()
        overlayfs: Fix setting IOP_XATTR flag
        iov_iter: kernel-doc import_iovec() and rw_copy_check_uvector()
        CIFS: Retrieve uid and gid from special sid if enabled
        CIFS: Add new mount option to set owner uid and gid from special sids in acl
        qedr: Add events support and register IB device
        qedr: Add GSI support
        qedr: Add LL2 RoCE interface
        qedr: Add support for data path
        qedr: Add support for memory registeration verbs
        qedr: Add support for QP verbs
        qedr: Add support for PD,PKEY and CQ verbs
        qedr: Add support for user context verbs
        qedr: Add support for RoCE HW init
        qedr: Add RoCE driver framework
        pkeys: Remove easily triggered WARN
        MIPS: Wire up new pkey_{mprotect,alloc,free} syscalls
        ...
      aea98380
  3. 15 Oct, 2016 1 commit