Re: [PATCH 2/6] nbd: make device_attribute const

2017-08-28 Thread Jens Axboe
On 08/21/2017 05:43 AM, Bhumika Goyal wrote: > 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 Added for 4.14, thanks. -- Jens Axboe

Re: [PATCH 2/6] nbd: make device_attribute const

2017-08-28 Thread Jens Axboe
On 08/21/2017 05:43 AM, Bhumika Goyal wrote: > 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 Added for 4.14, thanks. -- Jens Axboe

[PATCH 2/6] nbd: make device_attribute const

2017-08-21 Thread Bhumika Goyal
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 --- drivers/block/nbd.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH 2/6] nbd: make device_attribute const

2017-08-21 Thread Bhumika Goyal
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 --- drivers/block/nbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff