diff options
| author | Thomas Fourier <fourier.thomas@gmail.com> | 2025-07-09 14:35:40 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-08-29 12:04:01 +0300 |
| commit | 23b53639a793477326fd57ed103823a8ab63084f (patch) | |
| tree | b0d6225a7df1142f1b38ff9fcf1a44141e03f987 /include/linux/memory_hotplug.h | |
| parent | 2dc344f89f7312df5f684492a813d024d34cdf20 (diff) | |
| download | linux-23b53639a793477326fd57ed103823a8ab63084f.tar.xz | |
media: cx18: Add missing check after DMA map
The DMA map functions can fail and should be tested for errors.
If the mapping fails, dealloc buffers, and return.
Fixes: 1c1e45d17b66 ("V4L/DVB (7786): cx18: new driver for the Conexant CX23418 MPEG encoder chip")
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/memory_hotplug.h')
0 files changed, 0 insertions, 0 deletions
