Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1721973

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

From Jens Axboe <axboe@kernel.dk>
Newsgroups linux.kernel
Subject Re: [PATCH 2/6] nbd: make device_attribute const
Date 2017-08-28 23:30 +0200
Message-ID <ujzLA-2eP-7@gated-at.bofh.it> (permalink)
References <ugTnr-3Rl-5@gated-at.bofh.it> <ugTns-3Rl-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 2/6] nbd: make device_attribute const Jens Axboe <axboe@kernel.dk> - 2017-08-28 23:30 +0200

csiph-web