# Re: \[PATCH 2/6\] nbd: make device\_attribute const

- From: Jens Axboe \<axboe@kernel.dk\>
- Date: 2017-08-28 21:22:09 
- List: linux-block
- Page: https://ratatoskr.run/linux-block/2017/08/5077680
- Thread: https://ratatoskr.run/linux-acpi/2017/08/5071968/t.md

```text
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
```
