mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 12:41:26 +00:00
Ease severity of reporting unsupported REPORT LUNS SELECT REPORT value
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5855 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1850,8 +1850,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