scst: Linux kernel v4.12 warning fix.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7208 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2017-06-13 03:58:26 +00:00
parent 213a11e07b
commit c967700cd7

View File

@@ -371,7 +371,9 @@ static inline int scst_sense_response_code(const uint8_t *sense)
&& (!defined(RHEL_MAJOR) || RHEL_MAJOR -0 <= 5)
#define WRITE_ATTRIBUTE 0x8D
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0)
#define WRITE_VERIFY_16 0x8E
#endif
#define VERIFY_6 0x13
#ifndef VERIFY_12
#define VERIFY_12 0xAF