VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Dan Carpenter <dan.carpenter@oracle.com> 2018-12-07 22:06:12 -0700 committer: Jens Axboe <axboe@kernel.dk> 2018-12-07 22:27:01 -0700 commit: 29cadd2bb6670405086b177120593c1291273fb9 parent: 3236b458c475524d0735f6dd0bd250478434c7b1
Commit Summary:
scsi: Fix a harmless double shift bug
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/include/scsi/scsi_cmnd.h b/include/scsi/scsi_cmnd.h
index 3de905e205ce..d85e6befa26b 100644
--- a/include/scsi/scsi_cmnd.h
+++ b/include/scsi/scsi_cmnd.h
@@ -62,7 +62,7 @@ struct scsi_pointer {
 #define SCMD_PRESERVED_FLAGS	(SCMD_UNCHECKED_ISA_DMA | SCMD_INITIALIZED)
 
 /* for scmd->state */
-#define SCMD_STATE_COMPLETE	(1 << 0)
+#define SCMD_STATE_COMPLETE	0
 
 struct scsi_cmnd {
 	struct scsi_request req;