From a2917b0fecf23cf8b9bffddd12d03ea3140a1948 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 20 Mar 2014 16:10:19 +0000 Subject: [PATCH] scst_const.h: Make COMPARE_AND_WRITE definition available for kernel versions 3.6..3.11 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5359 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/scst_const.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/include/scst_const.h b/scst/include/scst_const.h index a84825b7e..afcbbf944 100644 --- a/scst/include/scst_const.h +++ b/scst/include/scst_const.h @@ -421,7 +421,7 @@ static inline int scst_sense_response_code(const uint8_t *sense) #define UNMAP 0x42 #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 6, 12) +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 12, 0) /* * From . See also commit * 1c68cc1626341665a8bd1d2c7dfffd7fc852a79c.