diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-06-09 11:10:19 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-07-20 09:58:31 +0200 |
commit | 6ad819b06ddf13a5a1d995eb26555903f6c3b71a (patch) | |
tree | 0464ebec1ee3af86517afff5911fb91897b03b58 /include/scsi/scsi.h | |
parent | [SCSI] hptiop: fix RR312x in hosts with >12GB (diff) | |
download | linux-6ad819b06ddf13a5a1d995eb26555903f6c3b71a.tar.xz linux-6ad819b06ddf13a5a1d995eb26555903f6c3b71a.zip |
[SCSI] arcmsr: fix misuse of | instead of &
ARCMSR_ARC1880_DiagWrite_ENABLE is 0x00000080 so (x | 0x00000080) is
never zero. The intent here was to test that loop until
ARCMSR_ARC1880_DiagWrite_ENABLE was turned on, but because the test was
wrong, we would do five loops regardless of whether it succeed or not.
Also I simplified the condition a little by removing the unused
assignement.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Nick Cheng <nick.cheng@areca.com.tw>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi/scsi.h')
0 files changed, 0 insertions, 0 deletions