[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y3NYI04dFGgtQke9@infradead.org>
Date: Tue, 15 Nov 2022 01:13:07 -0800
From: Christoph Hellwig <hch@...radead.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: axboe@...nel.dk, linux-kernel@...r.kernel.org,
linux-block@...r.kernel.org
Subject: Re: [PATCH] blkdev: make struct block_device_operations.devnode()
take a const *
On Wed, Nov 09, 2022 at 03:48:43PM +0100, Greg Kroah-Hartman wrote:
> The devnode() callback in struct block_device_operations should not be
> modifying the device that is passed into it, so mark it as a const * and
> propagate the function signature changes out into the one subsystem that
> actually uses this callback.
Yes. In fact it really shouldn't exist at all. I wonder if we can
do another attempt at dropping pktcdvd?
Powered by blists - more mailing lists