linux/drivers/infiniband/ulp/ipoib
Jason Gunthorpe 7dd78647a2 IB/core: Make ib_dealloc_pd return void
The majority of callers never check the return value, and even if they
did, they can't do anything about a failure.

All possible failure cases represent a bug in the caller, so just
WARN_ON inside the function instead.

This fixes a few random errors:
 net/rd/iw.c infinite loops while it fails. (racing with EBUSY?)

This also lays the ground work to get rid of error return from the
drivers. Most drivers do not error, the few that do are broken since
it cannot be handled.

Since uverbs can legitimately make use of EBUSY, open code the
check.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-08-30 18:12:39 -04:00
..
ipoib_cm.c IB/ipoib: Remove ib_get_dma_mr calls 2015-08-30 18:12:34 -04:00
ipoib_ethtool.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
ipoib_fs.c IPoIB: Remove unnecessary test for NULL before debugfs_remove() 2014-08-12 21:59:54 -07:00
ipoib_ib.c IB/ipoib: Scatter-Gather support in connected mode 2015-07-14 13:20:13 -04:00
ipoib_main.c IB/ipoib: Return IPoIB devices matching connection parameters 2015-08-30 15:48:21 -04:00
ipoib_multicast.c IB/ipoib: Remove IPOIB_MCAST_RUN bit 2015-04-15 16:06:19 -04:00
ipoib_netlink.c infiniband: make sure the src net is infiniband when create new link 2014-01-03 20:38:56 -05:00
ipoib_verbs.c IB/core: Make ib_dealloc_pd return void 2015-08-30 18:12:39 -04:00
ipoib_vlan.c IB/ipoib: Fix ndo_get_iflink 2015-04-17 15:21:04 -04:00
ipoib.h IB/ipoib: Remove ib_get_dma_mr calls 2015-08-30 18:12:34 -04:00
Kconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
Makefile IB/ipoib: Add rtnl_link_ops support 2012-09-20 16:49:17 -04:00