Messages in this thread | | | Date | Tue, 19 Dec 2023 14:46:37 +0100 | From | Christoph Hellwig <> | Subject | Re: [PATCH] dma-debug: make dma_debug_add_bus take a const pointer |
| |
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?
| |