diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2020-09-01 10:39:09 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-01 15:34:49 -0700 |
commit | ae6961de541d2307076d02fe9ae31f25c9f13611 (patch) | |
tree | 8e3cde0b3bc78b84a15192c9516ae8403af98e12 | |
parent | cbedcb044e9cc4e14bbe6658111224bb923094f4 (diff) | |
download | linux-ae6961de541d2307076d02fe9ae31f25c9f13611.tar.bz2 |
vhost: fix typo in error message
"enable" should be "disable" when the function name is
vhost_disable_notify(), which does the disabling work.
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/vhost/vhost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index 5857d4eec9d7..b45519ca66a7 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c @@ -2537,7 +2537,7 @@ void vhost_disable_notify(struct vhost_dev *dev, struct vhost_virtqueue *vq) if (!vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX)) { r = vhost_update_used_flags(vq); if (r) - vq_err(vq, "Failed to enable notification at %p: %d\n", + vq_err(vq, "Failed to disable notification at %p: %d\n", &vq->used->flags, r); } } |