IB/sa: Error handling thinko fix
authorAli Ayoub <ali@mellanox.co.il>
Sun, 9 Sep 2007 11:55:11 +0000 (14:55 +0300)
committerRoland Dreier <rolandd@cisco.com>
Wed, 10 Oct 2007 02:59:07 +0000 (19:59 -0700)
commit3c10c7c929b30e8813d15960cb97f95a0b2ba615
treeafa80536856b47a173c0e850c6acb02baf4e75e7
parent339e2640a9f403f7b7acb2ea67f3568b8ac3eebf
IB/sa: Error handling thinko fix

ib_create_send_mad() returns an error code pointer on error, not NULL.

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