linux/include
Jason Wang 619e9e14ba virtio: use WARN_ON() to warning illegal status value
We used to use BUG_ON() in virtio_device_ready() to detect illegal
status value, this seems sub-optimal since the value is under the
control of the device. Switch to use WARN_ON() instead.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: "Paul E. McKenney" <paulmck@kernel.org>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Halil Pasic <pasic@linux.ibm.com>
Cc: Cornelia Huck <cohuck@redhat.com>
Cc: Vineeth Vijayan <vneethv@linux.ibm.com>
Cc: Peter Oberparleiter <oberpar@linux.ibm.com>
Cc: linux-s390@vger.kernel.org
Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20220527060120.20964-10-jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
2022-05-31 12:45:10 -04:00
..
acpi cxl for 5.19 2022-05-27 21:24:19 -07:00
asm-generic Yang Shi has improved the behaviour of khugepaged collapsing of readonly 2022-05-26 12:32:41 -07:00
clocksource
crypto
drm drm: fix EDID struct for old ARM OABI format 2022-05-28 13:06:49 -07:00
dt-bindings Pin control bulk changes for the v5.19 series: 2022-05-28 11:15:54 -07:00
keys KEYS: trusted: Introduce support for NXP CAAM-based trusted keys 2022-05-23 18:47:50 +03:00
kunit kunit: take `kunit_assert` as `const` 2022-05-16 13:23:00 -06:00
kvm
linux virtio: use WARN_ON() to warning illegal status value 2022-05-31 12:45:10 -04:00
math-emu
media media: h264: Sort p/b reflist using frame_num 2022-05-17 10:02:29 +02:00
memory
misc
net Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2022-05-23 16:07:14 -07:00
pcmcia
ras
rdma RDMA/core: Fix typo in comment 2022-05-24 11:24:58 -03:00
scsi SCSI misc on 20220524 2022-05-25 19:09:48 -07:00
soc ARM: driver changes for 5.19 2022-05-26 10:32:47 -07:00
sound ASoC: Updates for v5.19 2022-05-23 16:03:04 +02:00
target SCSI misc on 20220524 2022-05-25 19:09:48 -07:00
trace NFSD 5.19 Release Notes 2022-05-26 20:52:24 -07:00
uapi vhost-vdpa: introduce uAPI to set group ASID 2022-05-31 12:44:31 -04:00
vdso
video video: fbdev: radeon: Fix spelling typo in comment 2022-05-26 13:38:59 +02:00
xen dma-mapping updates for Linux 5.19 2022-05-25 19:18:36 -07:00