diff options
author | Igor Stoppa <igor.stoppa@gmail.com> | 2018-09-07 20:48:02 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-05-27 11:08:22 -0400 |
commit | 3d840e0636be64502f1d3da2e077dab390c04091 (patch) | |
tree | f22f174f2a645f496e2ab971453ddc750b10e5a4 /kernel/up.c | |
parent | cd6c84d8f0cdc911df435bb075ba22ce3c605b07 (diff) | |
download | linux-3d840e0636be64502f1d3da2e077dab390c04091.tar.gz linux-3d840e0636be64502f1d3da2e077dab390c04091.tar.bz2 linux-3d840e0636be64502f1d3da2e077dab390c04091.zip |
virtio: add unlikely() to WARN_ON_ONCE()
The condition to test is unlikely() to be true. Add the hint.
Signed-off-by: Igor 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: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'kernel/up.c')
0 files changed, 0 insertions, 0 deletions