media: bttv: replace BUG with WARN_ON
authorDeborah Brouwer <deborah.brouwer@collabora.com>
Sat, 15 Jul 2023 02:15:58 +0000 (19:15 -0700)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 14 Aug 2023 18:27:58 +0000 (20:27 +0200)
commit615c5450278ac9b8e7bd09bac265bc33808b5fc1
treead1d1378f19dc6817f2aed2021b224722dda8be6
parentd1846d72587e9241e73a18da14a325b43700013b
media: bttv: replace BUG with WARN_ON

Both BUG and BUG_ON are replaced with WARN_ON wherever they would still be
present after the vb2 conversion. WARN_ON is sufficient in these cases.

Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/pci/bt8xx/bttv-driver.c
drivers/media/pci/bt8xx/bttv-risc.c
drivers/media/pci/bt8xx/bttv-vbi.c