diff options
| author | Thomas Fourier <fourier.thomas@gmail.com> | 2025-07-16 16:26:30 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-08-29 12:04:02 +0300 |
| commit | 1069a4fe637d0e3e4c163e3f8df9be306cc299b4 (patch) | |
| tree | 3ad9af656260219278e85dd0259e2a14095ddceb /include/linux/stringify.h | |
| parent | 9d6b556abf7758aae65447915f1c4f82f0a57df4 (diff) | |
| download | linux-1069a4fe637d0e3e4c163e3f8df9be306cc299b4.tar.xz | |
media: pci: ivtv: Add missing check after DMA map
The DMA map functions can fail and should be tested for errors.
If the mapping fails, free blanking_ptr and set it to 0. As 0 is a
valid DMA address, use blanking_ptr to test if the DMA address
is set.
Fixes: 1a0adaf37c30 ("V4L/DVB (5345): ivtv driver for Conexant cx23416/cx23415 MPEG encoder/decoder")
Cc: stable@vger.kernel.org
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
