linux_dsm_epyc7002/drivers/infiniband/core
Arnd Bergmann 40a203396c IB/uverbs: clean up INIT_UDATA() macro usage
After changing INIT_UDATA_BUF_OR_NULL() to an inline function,
this does the same change to INIT_UDATA for consistency.
I'm keeping it separate as this part is much larger and
we wouldn't want to backport this to stable kernels if we
ever want to address the gcc warnings by backporting the
first patch.

Again, using an inline function gives us better type
safety here among other issues with macros. I'm using
u64_to_user_ptr() to convert the user pointer to simplify
the logic rather than adding lots of new type casts.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-09-27 08:54:19 -04:00
..
addr.c
agent.c
agent.h
cache.c
cgroup.c
cm_msgs.h
cm.c IB/cm: Fix sleeping in atomic when RoCE is used 2017-08-31 08:35:07 -04:00
cma_configfs.c
cma.c
core_priv.h
cq.c
device.c
fmr_pool.c
iwcm.c
iwcm.h
iwpm_msg.c
iwpm_util.c
iwpm_util.h
mad_priv.h
mad_rmpp.c
mad_rmpp.h
mad.c
Makefile IB/core: Add uverbs merge trees functionality 2017-08-31 08:35:10 -04:00
mr_pool.c
multicast.c
netlink.c RDMA/netlink: clean up message validity array initializer 2017-09-08 10:17:20 -07:00
nldev.c
opa_smi.h
packer.c
rdma_core.c IB/core: Explicitly destroy an object while keeping uobject 2017-08-31 08:35:11 -04:00
rdma_core.h IB/core: Add new ioctl interface 2017-08-31 08:35:09 -04:00
roce_gid_mgmt.c
rw.c rdma core: Add rdma_rw_mr_payload() 2017-09-05 15:15:30 -04:00
sa_query.c
sa.h
security.c
smi.c
smi.h
sysfs.c
ucm.c
ucma.c
ud_header.c
umem_odp.c IB/umem: update to new mmu_notifier semantic 2017-08-31 16:12:59 -07:00
umem_rbtree.c lib/interval_tree: fast overlap detection 2017-09-08 18:26:49 -07:00
umem.c
user_mad.c
uverbs_cmd.c IB/uverbs: clean up INIT_UDATA() macro usage 2017-09-27 08:54:19 -04:00
uverbs_ioctl_merge.c IB/core: fix spelling mistake: "aceess" -> "access" 2017-09-27 08:54:19 -04:00
uverbs_ioctl.c IB/core: Add new ioctl interface 2017-08-31 08:35:09 -04:00
uverbs_main.c IB/uverbs: clean up INIT_UDATA_BUF_OR_NULL usage 2017-09-27 08:54:19 -04:00
uverbs_marshall.c
uverbs_std_types.c IB/uverbs: clean up INIT_UDATA_BUF_OR_NULL usage 2017-09-27 08:54:19 -04:00
uverbs.h IB/uverbs: clean up INIT_UDATA() macro usage 2017-09-27 08:54:19 -04:00
verbs.c IB/core: Fix for core panic 2017-09-22 11:52:09 -04:00