[IB] Check port number in ib_query_port()/ib_modify_port()
authorRoland Dreier <rolandd@cisco.com>
Mon, 3 Oct 2005 16:32:33 +0000 (09:32 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 17 Oct 2005 22:20:27 +0000 (15:20 -0700)
commit116c0074ecfd6f061570856bec52b691d54dbd3c
tree0f9524538accf39d965d270d63728ec43a5f26b8
parentf575394f1de9b4afa4b474f1882c7e2d3b8e51d7
[IB] Check port number in ib_query_port()/ib_modify_port()

Check port number before passing query_port or modify_port operations
on to device driver.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/device.c