[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f249f608-d9cf-7ba9-5050-dfc97e543d55@kernel.dk>
Date: Wed, 9 Nov 2022 12:41:09 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org, linux-block@...r.kernel.org
Subject: Re: [PATCH] blkdev: make struct block_device_operations.devnode()
take a const *
On 11/9/22 7:48 AM, 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.
>
> Cc: linux-block@...r.kernel.org
> Cc: Jens Axboe <axboe@...nel.dk>
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> ---
>
> Jens, I have some dependent kobject/driver core changes that require
> this change in the works. Can I take this through the driver core tree
> for 6.2-rc1?
Yeah go ahead, you can add my:
Acked-by: Jens Axboe <axboe@...nel.dk>
--
Jens Axboe
Powered by blists - more mailing lists