Skip to content

Commit

Permalink
vhost: fix typo in error message
Browse files Browse the repository at this point in the history
"enable" should be "disable" when the function name is
vhost_disable_notify(), which does the disabling work.

Signed-off-by: Yunsheng Lin <[email protected]>
Acked-by: Jason Wang <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Yunsheng Lin authored and davem330 committed Sep 1, 2020
1 parent cbedcb0 commit ae6961d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/vhost/vhost.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit ae6961d

Please sign in to comment.