]> err.no Git - linux-2.6/commit
IB/umad: Fix declaration of dev_map[]
authorHal Rosenstock <halr@voltaire.com>
Mon, 2 Apr 2007 16:45:16 +0000 (12:45 -0400)
committerRoland Dreier <rolandd@cisco.com>
Thu, 19 Apr 2007 03:20:53 +0000 (20:20 -0700)
commit9a4b65e35714516980c863bfb7edc5f232b8b458
treebbfbfd251b5e5304a124815a728f0d163cb52857
parent9b620d2a16814e5f2a063359c953c41f804e091a
IB/umad: Fix declaration of dev_map[]

The current ib_umad code never accesses bits past IB_UMAD_MAX_PORTS in
dev_map[].  We shouldn't declare it to be twice as big.

Pointed-out-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Hal Rosenstock <halr@voltaire.com>
drivers/infiniband/core/user_mad.c