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

From
Jens Axboe <axboe@kernel.dk>
Date
2017-08-28 21:22:09
Also in
linux-acpi, linux-block, linux-input, linux-pm, lkml, platform-driver-x86
Reply to
Bhumika Goyal, 2017-08-21
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
Thread (18 messages) 18 messages, 9 authors, last reply 2017-09-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help