From: Dan Carpenter Date: Sat, 9 Jun 2012 09:10:19 +0000 (+0300) Subject: [SCSI] arcmsr: fix misuse of | instead of & X-Git-Tag: v3.6-rc1~103^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ad819b06ddf13a5a1d995eb26555903f6c3b71a;p=pandora-kernel.git [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 Acked-by: Nick Cheng Signed-off-by: James Bottomley --- Reading git-diff-tree failed