]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/cma: make config_item_type const
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 16 Oct 2017 15:18:51 +0000 (17:18 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 19 Oct 2017 14:15:31 +0000 (16:15 +0200)
commit6ace4f6bbcfde70278a33c11443ecda3ed0ec1b6
tree80b5d6c056f7b5a69e650195af7940b38673bcd8
parent085006e834cb293e28a988ea9f6edfa796b177fb
RDMA/cma: make config_item_type const

Make these structures const as they are either passed to the functions
having the argument as const or stored as a reference in the "ci_type"
const field of a config_item structure.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Acked-by: Doug Ledford <dledford@redhat.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/infiniband/core/cma_configfs.c