diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-04-21 18:03:52 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-04-25 23:23:01 -0400 |
commit | 565138ac5f8a5330669a20e5f94759764e9165ec (patch) | |
tree | 87d1afef6922a8a64e92379891be11837653cf38 /include/linux/moxtet.h | |
parent | 95af09fabf3782be9728a6af6461f6937cd8e528 (diff) |
scsi: iscsi: Fix harmless double shift bug
These flags are supposed to be bit numbers. Right now they cause a double
shift bug where we use BIT(BIT(2)) instead of BIT(2). Fortunately, the bit
numbers are small and it's done consistently so it does not cause an issue
at run time.
Link: https://lore.kernel.org/r/YmFyWHf8nrrx+SHa@kili
Fixes: 5bd856256f8c ("scsi: iscsi: Merge suspend fields")
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/linux/moxtet.h')
0 files changed, 0 insertions, 0 deletions