diff options
author | 2023-03-13 19:29:14 +0100 | |
---|---|---|
committer | 2023-03-23 13:21:42 +0100 | |
commit | 790f3b60ac78efb339c7ef2f4d2dba63c804110a (patch) | |
tree | 92c3e1723f2a8b0b340c4d800402159909aa561c /include/linux/usb/serial.h | |
parent | vhost-vdpa: vhost_vdpa_alloc_domain() should be using a const struct bus_type * (diff) | |
download | wireguard-linux-790f3b60ac78efb339c7ef2f4d2dba63c804110a.tar.xz wireguard-linux-790f3b60ac78efb339c7ef2f4d2dba63c804110a.zip |
dmaengine: idxd: use const struct bus_type *
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.
Cc: dmaengine@vger.kernel.org
Acked-by: Vinod Koul <vkoul@kernel.org>
Acked-by: Fenghua Yu <fenghua.yu@intel.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20230313182918.1312597-32-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/serial.h')
0 files changed, 0 insertions, 0 deletions