]> asedeno.scripts.mit.edu Git - linux.git/commit
nvmet: make config_item_type const
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 16 Oct 2017 15:18:47 +0000 (17:18 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 19 Oct 2017 14:15:28 +0000 (16:15 +0200)
commit66603a31f8969353654e092f6b286a653ac71e71
tree96a16295b465f165dad528457e0de75549e197da
parent4ad0141226f00eee3cfe4392c27e14bf15520640
nvmet: make config_item_type const

Make config_item_type structures const as they are either passed to a
function having the argument as const or used inside an if statement or
stored in the const "ci_type" field of a config_item structure.

Done using Coccinelle

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/configfs.c