aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2011-04-07 08:37:35 (GMT)
committerHans Verkuil <hverkuil@xs4all.nl>2011-04-07 08:37:35 (GMT)
commit139af0392c9b3bb0cf13235762931b2f93f89c61 (patch)
tree0653f4188b3a3c74575f4456f149d02777873faf
parentec1db9e565c48af9b6883aa9c499e210a509391a (diff)
For now do not print $media_build_version.
$media_build_version can be huge (particularly after a merge commit) and full of weird characters. This should be done differently, but for now just don't use it. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
-rwxr-xr-xlinux/version_patch.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/linux/version_patch.pl b/linux/version_patch.pl
index 5df05c7..9416fb5 100755
--- a/linux/version_patch.pl
+++ b/linux/version_patch.pl
@@ -34,7 +34,11 @@ sub patch_file($$$$)
$file .= "\tprintk(KERN_ERR \"$warning\\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";
+ "\\tUse it with care.\\n\");\n";
+# This was:
+# "\\tUse it with care.\\n$media_build_version\\n\");\n";
+# but $media_build_version can be huge and full of weird characters.
+# We need a better solution for this, but for now just comment it out.
$is_function = 0;
$patched++;
next;

Privacy Policy