From 6c161367e6deeb1ae0ab1d8a020203a8b374c1fb Mon Sep 17 00:00:00 2001 From: Stanislaw Gruszka Date: Sat, 5 Jul 2008 19:11:16 +0000 Subject: [PATCH] Add warrning qla_isp do not support > 2.6.24 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@428 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla_isp/linux/isp_linux.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qla_isp/linux/isp_linux.h b/qla_isp/linux/isp_linux.h index 2134035ad..490762737 100644 --- a/qla_isp/linux/isp_linux.h +++ b/qla_isp/linux/isp_linux.h @@ -84,6 +84,10 @@ #error "Only Linux 2.5/2.6 kernels are supported with this driver" #endif +#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 24) +#error "Linux kernels newer than 2.6.24 are not supported with this driver" +#endif + #ifndef UNUSED_PARAMETER #define UNUSED_PARAMETER(x) (void) x #endif