Skip to content

Commit fbf1a58

Browse files
bvanasschemartinkpetersen
authored andcommitted
scsi: fas216: Fix a build error
Use SAM_STAT_GOOD instead of GOOD since GOOD has been removed. Link: https://lore.kernel.org/r/[email protected] Fixes: 3d45cef ("scsi: core: Drop obsolete Linux-specific SCSI status codes") Fixes: df13031 ("scsi: fas216: Use get_status_byte() to avoid using Linux-specific status codes") Cc: Hannes Reinecke <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 422969b commit fbf1a58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/arm/fas216.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2010,7 +2010,7 @@ static void fas216_rq_sns_done(FAS216_Info *info, struct scsi_cmnd *SCpnt,
20102010
"request sense complete, result=0x%04x%02x%02x",
20112011
result, SCpnt->SCp.Message, SCpnt->SCp.Status);
20122012

2013-
if (result != DID_OK || SCpnt->SCp.Status != GOOD)
2013+
if (result != DID_OK || SCpnt->SCp.Status != SAM_STAT_GOOD)
20142014
/*
20152015
* Something went wrong. Make sure that we don't
20162016
* have valid data in the sense buffer that could

0 commit comments

Comments
 (0)