mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-17 20:54:10 +00:00
scsi: fas216: Fix a build error
Use SAM_STAT_GOOD instead of GOOD since GOOD has been removed. Link: https://lore.kernel.org/r/20210711033623.11267-1-bvanassche@acm.org Fixes:3d45cefc8e
("scsi: core: Drop obsolete Linux-specific SCSI status codes") Fixes:df13031476
("scsi: fas216: Use get_status_byte() to avoid using Linux-specific status codes") Cc: Hannes Reinecke <hare@suse.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
422969bbb5
commit
fbf1a58701
1 changed files with 1 additions and 1 deletions
|
@ -2010,7 +2010,7 @@ static void fas216_rq_sns_done(FAS216_Info *info, struct scsi_cmnd *SCpnt,
|
|||
"request sense complete, result=0x%04x%02x%02x",
|
||||
result, SCpnt->SCp.Message, SCpnt->SCp.Status);
|
||||
|
||||
if (result != DID_OK || SCpnt->SCp.Status != GOOD)
|
||||
if (result != DID_OK || SCpnt->SCp.Status != SAM_STAT_GOOD)
|
||||
/*
|
||||
* Something went wrong. Make sure that we don't
|
||||
* have valid data in the sense buffer that could
|
||||
|
|
Loading…
Add table
Reference in a new issue