]> git.openfabrics.org - ~shefty/libibverbs.git/commit
Make the gid argument to ibv_attach_mcast and ibv_detach_mcast const
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Sun, 19 Jul 2009 05:26:34 +0000 (23:26 -0600)
committerRoland Dreier <rolandd@cisco.com>
Wed, 22 Jul 2009 19:34:03 +0000 (12:34 -0700)
commite5ae2208026c398e5c515ef27b5bff3775ee1511
tree8ec7fcb0743ba28c70b73d3923985e0af8758248
parent8af67ff9d4faa0d624f058148aee4e3fb0f12aab
Make the gid argument to ibv_attach_mcast and ibv_detach_mcast const

ibv_attach_mcast() and ibv_detach_mcast() don't change the gid
argument, so the arguments should be const to allow applications to
pass in constant gids.  This constness flows through to the driver
call struct and into the drivers and back into
ibv_cmd_attach_mcast()/ibv_cmd_detach_mcast().

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
include/infiniband/driver.h
include/infiniband/verbs.h
man/ibv_attach_mcast.3
src/cmd.c
src/verbs.c