diff options
author | 2023-03-13 19:29:13 +0100 | |
---|---|---|
committer | 2023-03-23 13:21:38 +0100 | |
commit | 94a1150421940ff2e8113b5fa6837774777d5b3d (patch) | |
tree | ee9542611d7fa604933ce0d9a623fcdf0e1ef9e3 /include/linux/usb/serial.h | |
parent | drm/i915/huc: use const struct bus_type pointers (diff) | |
download | wireguard-linux-94a1150421940ff2e8113b5fa6837774777d5b3d.tar.xz wireguard-linux-94a1150421940ff2e8113b5fa6837774777d5b3d.zip |
vhost-vdpa: vhost_vdpa_alloc_domain() should be using a const struct bus_type *
The function, vhost_vdpa_alloc_domain(), has a pointer to a struct
bus_type, but it should be constant as the function it passes it to
expects it to be const, and the vhost code does not modify it in any
way.
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: kvm@vger.kernel.org
Cc: virtualization@lists.linux-foundation.org
Cc: netdev@vger.kernel.org
Link: https://lore.kernel.org/r/20230313182918.1312597-31-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