Re: [PATCH] dma-debug: make dma_debug_add_bus take a const pointer

From: Christoph Hellwig
Date: Tue Dec 19 2023 - 08:46:51 EST


On Tue, Dec 19, 2023 at 02:41:42PM +0100, Greg Kroah-Hartman wrote:
> The driver core now can handle a const struct bus_type pointer, and the
> dma_debug_add_bus() call just passes on the pointer give to it to the
> driver core, so make this pointer const as well to allow everyone to use
> read-only struct bus_type pointers going forward.

This looks good to me. Do you want me to queue it up or take it with
the other constification patches?