From 45f9175449202e5ea986652cba77b546425223df Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 11 Sep 2010 11:30:29 +0000 Subject: [PATCH] Fix for r2082: declaring bool kernel module parameters as bool is allowed since kernel 2.6.31, not since kernel 2.6.28. See also commit fddd520122953550ec2c8b60e7ca0d0f0d115d97. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2094 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst_local/scst_local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst_local/scst_local.c b/scst_local/scst_local.c index f3feb245c..4a38ea5a1 100644 --- a/scst_local/scst_local.c +++ b/scst_local/scst_local.c @@ -97,7 +97,7 @@ static atomic_t num_aborts = ATOMIC_INIT(0); static atomic_t num_dev_resets = ATOMIC_INIT(0); static atomic_t num_target_resets = ATOMIC_INIT(0); -#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 27) \ +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 31) \ || defined(RHEL_MAJOR) && RHEL_MAJOR -0 <= 5 static int scst_local_add_default_tgt; #else