diff options
author | 2023-03-24 06:38:32 -0700 | |
---|---|---|
committer | 2023-07-19 12:57:47 +0200 | |
commit | a1db7b2c5533fc67e2681eb5efc921a67bc7d5b8 (patch) | |
tree | 329903cf64e11c64885f5750cd462c1f1a931d95 /drivers/media/dvb-frontends/dibx000_common.c | |
parent | media: cx18: remove unnecessary (void*) conversions (diff) | |
download | linux-a1db7b2c5533fc67e2681eb5efc921a67bc7d5b8.tar.gz linux-a1db7b2c5533fc67e2681eb5efc921a67bc7d5b8.tar.bz2 linux-a1db7b2c5533fc67e2681eb5efc921a67bc7d5b8.zip |
media: dib7000p: Fix potential division by zero
Variable loopdiv can be assigned 0, then it is used as a denominator,
without checking it for 0.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 713d54a8bd81 ("[media] DiB7090: add support for the dib7090 based")
Signed-off-by: Daniil Dulov <d.dulov@aladdin.ru>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil: (bw != NULL) -> bw]
Diffstat (limited to 'drivers/media/dvb-frontends/dibx000_common.c')
0 files changed, 0 insertions, 0 deletions