scripts/generate-kernel-patch: Add support for kernel versions >= 4.0.1

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
This commit is contained in:
Bart Van Assche
2015-05-01 07:56:57 +02:00
parent 39e51c048e
commit 48b8f91547
+1 -1
View File
@@ -478,7 +478,7 @@ BEGIN {
exit 1
}
LINUX_VERSION_CODE = version_code(kernel_version)
if (LINUX_VERSION_CODE < 2*65536 || LINUX_VERSION_CODE > 4*65536)
if (LINUX_VERSION_CODE < 2*65536)
{
printf "Error: kernel version (%s) is out of range.\n", kernel_version
exit 1