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: NRoland Dreier <rolandd@cisco.com> Signed-off-by: NHal Rosenstock <halr@voltaire.com>
Showing
想要评论请 注册 或 登录