From 6ad819b06ddf13a5a1d995eb26555903f6c3b71a Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Sat, 9 Jun 2012 12:10:19 +0300 Subject: [PATCH] [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-format-patch failed