Re: [PATCH 32/36] dmaengine: idxd: use const struct bus_type *

From: Vinod Koul
Date: Fri Mar 17 2023 - 13:19:13 EST


On 13-03-23, 19:29, Greg Kroah-Hartman wrote:
> In the functions unbind_store() and bind_store(), a struct bus_type *
> should be a const one, as the driver core bus functions used by this
> variable are expecting the pointer to be constant, and these functions
> do not modify the pointer at all.

Acked-by: Vinod Koul <vkoul@xxxxxxxxxx>

--
~Vinod