]> git.baikalelectronics.ru Git - kernel.git/commit
[IB] mthca: fix off by one in clr_int calculation
authorMichael S. Tsirkin <mst@mellanox.co.il>
Mon, 26 Sep 2005 16:29:33 +0000 (09:29 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 26 Sep 2005 16:38:34 +0000 (09:38 -0700)
commit8dade2fc7a643c5f6b52fa04242394359be5e3ab
tree1e2cff00ff81b1a20be326d5b58e672846663102
parentc003fcec6c6b3e28f1dbf7581278c8ae1135fd7f
[IB] mthca: fix off by one in clr_int calculation

We should use the first word of the clear interrupt register if
the bit we're after is < 32, not < 31.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_eq.c