[PATCH] IB/mthca: fix format of CQ number for CQ events
authorRoland Dreier <roland@topspin.com>
Sat, 16 Apr 2005 22:26:22 +0000 (15:26 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:26:22 +0000 (15:26 -0700)
commitb87dcfbacee9c57b39738f43f32834f02ec302d5
tree179fcf61040e2ac160ea38d3ca79e5f9d04cdd94
parentb635fa215192a02e58e8e30d5d927435aa108192
[PATCH] IB/mthca: fix format of CQ number for CQ events

CQ numbers are only 24 bits, so only print 6 hex digits and mask off reserved
part when reporting a CQ event.

Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/infiniband/hw/mthca/mthca_eq.c