]> asedeno.scripts.mit.edu Git - linux.git/commit
hisi_sas: Fix typo in setup_itct_v1_hw()
authorJohn Garry <john.garry@huawei.com>
Mon, 21 Dec 2015 11:35:08 +0000 (19:35 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 8 Jan 2016 17:11:06 +0000 (12:11 -0500)
commit8fb88201b4303159638976c2c4c4769fc89d64d1
tree5eb0c49b3d71e0205f62c53b2cdc9ad318e8e550
parent8ceec33223f0cf8849d47dbe2203ce82c9875d09
hisi_sas: Fix typo in setup_itct_v1_hw()

We were doing a arithmetic comparison instead of logical shift by
accident.  Mis-programming the itct did not seem to make a difference to
operation.

Fixes: abda97c2fe874 ("hisi_sas: Add dev_found")
Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Reviewed-by: Shane Seymour <shane.seymour@hpe.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c