IB/core: const'ify inbuf in struct ib_udata
authorYann Droneaud <ydroneaud@opteya.com>
Wed, 11 Dec 2013 22:01:44 +0000 (23:01 +0100)
committerRoland Dreier <roland@purestorage.com>
Mon, 16 Dec 2013 18:38:28 +0000 (10:38 -0800)
commit309243ec14fde1149e1c66f19746e239e86caf39
treee17f84787379b97511c68b8103414581c163cca9
parent374b105797c3d4f29c685f3be535c35f5689b30e
IB/core: const'ify inbuf in struct ib_udata

Userspace input buffer is not modified by kernel, so it can be 'const'.

This is also a prerequisite to remove the implicit cast
from INIT_UDATA().

Link: http://marc.info/?i=cover.1386798254.git.ydroneaud@opteya.com>
Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/uverbs.h
include/rdma/ib_verbs.h