Made sure that sparse can process scst.h. Apparently there is a bug in sparse which makes sparse interpret single quotes in preprocessor statements as character delimiters.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2378 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-10-08 19:40:18 +00:00
parent cef1b4cdff
commit 26f9165b48

View File

@@ -34,7 +34,7 @@
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#elif defined(RHEL_MAJOR) && RHEL_MAJOR -0 <= 5
#error The SCST sysfs interface is not supported on RHEL 5. Please run 'make enable_proc'.
#error The SCST sysfs interface is not supported on RHEL 5. Please run make enable_proc.
#endif
#include <scsi/scsi_cmnd.h>