|author||Hans Verkuil <email@example.com>||2011-04-07 10:37:35 +0200|
|committer||Hans Verkuil <firstname.lastname@example.org>||2011-04-07 10:37:35 +0200|
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 <email@example.com>
1 files changed, 5 insertions, 1 deletions
diff --git a/linux/version_patch.pl b/linux/version_patch.pl
index 5df05c7..9416fb5 100755
@@ -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;