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

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6224 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-06-09 13:33:11 +00:00
parent e2e2395761
commit 77abedc121

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