]> git.baikalelectronics.ru Git - kernel.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)
commit613e131057c6eef9dcc09970c4ef51e5cdd704b1
tree80b5d6c056f7b5a69e650195af7940b38673bcd8
parentbdee979bbb2098c3282386488bb04c5c03ae36bc
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