mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
Fix bug preventing pass-through dev handlers be loaded if SCSI_EXEC_REQ_FIFO_DEFINED not defined.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1349 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1049,14 +1049,16 @@ int __scst_register_dev_driver(struct scst_dev_type *dev_type,
|
||||
"supported. Consider applying on your kernel patch "
|
||||
"scst_exec_req_fifo-<kernel-version> or define "
|
||||
"CONFIG_SCST_STRICT_SERIALIZING", dev_type->name);
|
||||
res = -EINVAL;
|
||||
goto out_error;
|
||||
#endif /* !defined(CONFIG_SCST_STRICT_SERIALIZING) */
|
||||
#else /* LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30) */
|
||||
PRINT_ERROR("Pass-through dev handlers (handler \"%s\") not "
|
||||
"supported. Consider applying on your kernel patch "
|
||||
"scst_exec_req_fifo-<kernel-version>", dev_type->name);
|
||||
#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30) */
|
||||
res = -EINVAL;
|
||||
goto out_error;
|
||||
#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30) */
|
||||
}
|
||||
#endif /* !defined(SCSI_EXEC_REQ_FIFO_DEFINED) */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user