]> err.no Git - linux-2.6/commit
IB/mad: Change SMI to use enums rather than magic return codes
authorHal Rosenstock <halr@voltaire.com>
Mon, 2 Apr 2007 15:24:07 +0000 (11:24 -0400)
committerRoland Dreier <rolandd@cisco.com>
Tue, 24 Apr 2007 23:31:12 +0000 (16:31 -0700)
commitde493d47d8b4738827d8914a4dc94058c58f4249
tree3da66e364fe8c1c51ad0a4cbbced337cce6a33d4
parentaeba84a9251968a51fc6faae846518aac4e77565
IB/mad: Change SMI to use enums rather than magic return codes

Clarify code by changing return values from SMI functions to named
enum values instead of magic 0/1 values.

Signed-off-by: Hal Rosenstock <halr@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/mad.c
drivers/infiniband/core/smi.c
drivers/infiniband/core/smi.h