]> git.baikalelectronics.ru Git - kernel.git/commit
vhost-vdpa: Fix the wrong input in config_cb
authorCindy Lu <lulu@redhat.com>
Wed, 29 Sep 2021 09:09:33 +0000 (17:09 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 13 Oct 2021 12:42:07 +0000 (08:42 -0400)
commitee5a0c7f432e6092da122047abf9143aa97051f0
tree452f5622d77e6d6754d5f722e57f3d75e9a4afd7
parent9a166b934fbdda40af53d5a99debad9d3892cbc7
vhost-vdpa: Fix the wrong input in config_cb

Fix the wrong input in for config_cb. In function vhost_vdpa_config_cb,
the input cb.private was used as struct vhost_vdpa, so the input was
wrong here, fix this issue

Fixes: df57e9aa15a4 ("vhost_vdpa: Support config interrupt in vdpa")
Signed-off-by: Cindy Lu <lulu@redhat.com>
Link: https://lore.kernel.org/r/20210929090933.20465-1-lulu@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vdpa.c