diff options
author | Thomas Fourier <fourier.thomas@gmail.com> | 2025-07-09 13:13:34 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2025-07-15 10:59:28 +0200 |
commit | 50459501b9a212dbe7a673727589ee105a8a9954 (patch) | |
tree | 6f7eba6c81242a2593c27ce377c1e1ade02f12d0 /net/lapb/lapb_subr.c | |
parent | 1772e571b332fdc480289c241f2273a808c5568d (diff) |
mwl8k: Add missing check after DMA map
The DMA map functions can fail and should be tested for errors.
If the mapping fails, unmap and return an error.
Fixes: 788838ebe8a4 ("mwl8k: use pci_unmap_addr{,set}() to keep track of unmap addresses on rx")
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Link: https://patch.msgid.link/20250709111339.25360-2-fourier.thomas@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions