]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/ipath: Fix bad argument to clear_bit()
authorBryan O'Sullivan <bos@pathscale.com>
Thu, 15 Mar 2007 21:44:56 +0000 (14:44 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 19 Apr 2007 03:20:56 +0000 (20:20 -0700)
commit614d49a21e96737f84b13f644ac813f8eb6d297a
tree6a8389bcaf26f17d57a6720f84c3fe5b5887423d
parent8ec1077b35359c973f4b1de7c516be570a6df495
IB/ipath: Fix bad argument to clear_bit()

Code was converted from a &= ~mask to clear_bit, but the bit was left
shifted instead of being used directly, so we were either trashing
memory several pages away, or sometimes taking a kernel page fault on
an invalid page.

Signed-off-by: Dave Olson <dave.olson@qlogic.com>
Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_intr.c