]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
rdma/core: Fix sparse errors
authorSean Hefty <sean.hefty@intel.com>
Mon, 5 Dec 2011 23:58:31 +0000 (15:58 -0800)
committerSean Hefty <sean.hefty@intel.com>
Sat, 7 Jan 2012 00:49:23 +0000 (16:49 -0800)
commitc660bbddfb5dd7980e469a6ca005904eb3d5164f
treee6934328181cb65f48e858afc0ec713fe4b421e1
parente4995d58ecdc6f73dda3aedae9220ec0618e8053
rdma/core: Fix sparse errors

Fix errors reported by sparse in the rdma core stack.  Note that these
are real bugs, but don't affect any existing code.  The mlid issue would
only affect kernel users of rdma_join_multicast which have the rdma_cm
attach/detach its QP.  There are no current in tree users that do this.
(rdma_join_multicast may be used called by user space applications,
which does not have this issue.)  And the pkey setting is simply returned
as informational.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
drivers/infiniband/core/cma.c