]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf40e80ab78d5ee189712e6a81876efa2f23bb93f
treee17f84787379b97511c68b8103414581c163cca9
parent509cb81d0fdf938567c3edb13e6098ad48ffc265
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