aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 17:52:19 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 17:52:19 (GMT)
commitdabc1f61e5cfe31bc571708200a1e8cec40d6367 (patch)
treea646657515af17e8ab242a364c401ce4a2c4ff66
parent834d0d32f8d3c8d3f2dfc1fed42140ddb34cad5d (diff)
Improve warning messages
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rwxr-xr-xlinux/version_patch.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/version_patch.pl b/linux/version_patch.pl
index c376556..9c013ec 100755
--- a/linux/version_patch.pl
+++ b/linux/version_patch.pl
@@ -32,9 +32,9 @@ sub patch_file($$$$)
};
if ($is_function && m/($after_line)/) {
$file .= "\tprintk(KERN_ERR \"$warning\\n" .
- "\\t\\tAs the driver is backported to an older kernel, it doesn't offer enough\\n" .
- "\\t\\tquality for its usage in production.\\n" .
- "\\t\\tUse it with care.\\n$media_build_version\\n\");\n";
+ "\\tAs the driver is backported to an older kernel, it doesn't offer\\n" .
+ "\\tenough quality for its usage in production.\\n" .
+ "\\tUse it with care.\\n$media_build_version\\n\");\n";
$is_function = 0;
$patched++;
next;
@@ -65,7 +65,7 @@ $logs.=$_ while (<IN>);
close IN;
$logs =~ s/\s+$//;
$logs =~ s,\n,\\n\\t,g;
-$logs = "Latest git patches:\\n\\t$logs";
+$logs = "Latest git patches (needed if you report a bug to linux-media\@vger.kernel.org):\\n\\t$logs";
my $need_patch;
open IN, "md5sum git_log|" or die "can't find git_log";

Privacy Policy