From: Willy Tarreau Date: Sat, 17 Feb 2007 17:57:09 +0000 (+0100) Subject: rio: typo in bitwise AND expression. X-Git-Tag: v2.6.21-rc1~71^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88dacbe961aa63fa880b4f6f16515427f61fc3ca;p=pandora-kernel.git rio: typo in bitwise AND expression. The line : hp->Mode &= !RIO_PCI_INT_ENABLE; is obviously wrong as RIO_PCI_INT_ENABLE=0x04 and is used as a bitmask 2 lines before. Getting no IRQ would not disable RIO_PCI_INT_ENABLE but rather RIO_PCI_BOOT_FROM_RAM which equals 0x01. Obvious fix is to change ! for ~. Signed-off-by: Willy Tarreau Signed-off-by: Adrian Bunk --- Reading git-diff-tree failed