Skip to content
Snippets Groups Projects
Commit 3d840e06 authored by Igor Stoppa's avatar Igor Stoppa Committed by Michael S. Tsirkin
Browse files

virtio: add unlikely() to WARN_ON_ONCE()


The condition to test is unlikely() to be true. Add the hint.

Signed-off-by: default avatarIgor Stoppa <igor.stoppa@huawei.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Virtualization@lists.linux-foundation.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent cd6c84d8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment