]> git.baikalelectronics.ru Git - kernel.git/commit
nbd: make device_attribute const
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 21 Aug 2017 11:43:08 +0000 (17:13 +0530)
committerJens Axboe <axboe@kernel.dk>
Mon, 28 Aug 2017 21:21:27 +0000 (15:21 -0600)
commit3c30f30a7a9a5b9f3a897563bbe43d1fee0dedcb
treea4ac524eff01e10c8ec12bc56cb876973b194ca9
parentb4ec7990e9761ef493f98c763c734ee1abe95c2d
nbd: make device_attribute const

Make this const as is is only passed as an argument to the
function device_create_file and device_remove_file and the corresponding
arguments are of type const.
Done using Coccinelle

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/nbd.c