Messages in this thread Patch in this message | | | Subject | [PATCH 5/5] hpsa: suppress messages due to unsupport SCSI REPORT_LUNS | From | "Stephen M. Cameron" <> | Date | Tue, 08 Dec 2009 15:38:32 -0600 |
| |
From: Stephen M. Cameron <scameron@beardog.cce.hp.com>
hpsa: suppress messages due to unsupport SCSI REPORT_LUNS
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> --- drivers/scsi/hpsa.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 380236a..22bca00 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -964,6 +964,13 @@ static void complete_scsi_command(struct CommandList *cp, break; } if (sense_key == ILLEGAL_REQUEST) { + /* + * SCSI REPORT_LUNS is commonly unsupported on + * Smart Array. Suppress noisy complaint. + */ + if (cp->Request.CDB[0] == REPORT_LUNS) + break; + /* If ASC/ASCQ indicate Logical Unit * Not Supported condition, */
| |