mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-23 13:41:27 +00:00
Merged revisions 5855 via svnmerge from
svn+ssh://vlnb@svn.code.sf.net/p/scst/svn/trunk ........ r5855 | vlnb | 2014-11-14 17:44:06 -0800 (Fri, 14 Nov 2014) | 3 lines Ease severity of reporting unsupported REPORT LUNS SELECT REPORT value ........ git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5857 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1853,8 +1853,8 @@ static int scst_report_luns_local(struct scst_cmd *cmd)
|
||||
cmd->driver_status = 0;
|
||||
|
||||
if ((cmd->cdb[2] != 0) && (cmd->cdb[2] != 2)) {
|
||||
PRINT_ERROR("Unsupported SELECT REPORT value %x in REPORT "
|
||||
"LUNS command", cmd->cdb[2]);
|
||||
TRACE(TRACE_MINOR, "Unsupported SELECT REPORT value %x in "
|
||||
"REPORT LUNS command", cmd->cdb[2]);
|
||||
scst_set_invalid_field_in_cdb(cmd, 2, 0);
|
||||
goto out_compl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user