mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 22:26:23 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user