diff options
author | Daniel W. S. Almeida <dwlsalmeida@gmail.com> | 2020-08-07 10:35:35 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-08-29 07:49:00 +0200 |
commit | 2ad5e2e463e738d2cd5d78547e0f31694e9de932 (patch) | |
tree | 060efaa5eb5f6039657c2f32086a5702c09bd6be /lib/test_sort.c | |
parent | 333b90fb42f0debe613c48f2f8d307f1c805e43b (diff) |
media: pci: saa7164.c: Replace if(cond) BUG with BUG_ON
Fix the following coccinelle reports:
drivers/media/pci/saa7164/saa7164-buffer.c:254:3-6: WARNING: Use BUG_ON
instead of if condition followed by BUG.
drivers/media/pci/saa7164/saa7164-buffer.c:261:3-6: WARNING: Use BUG_ON
instead of if condition followed by BUG.
Found using - Coccinelle (http://coccinelle.lip6.fr)
Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'lib/test_sort.c')
0 files changed, 0 insertions, 0 deletions