diff options
author | Thomas Fourier <fourier.thomas@gmail.com> | 2025-07-16 11:47:30 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-17 19:02:55 -0700 |
commit | d61f6cb6f6ef3c70d2ccc0d9c85c508cb8017da9 (patch) | |
tree | bb96f462315dee2de00e27bee2dd7d707647d781 /net/core/dev_api.c | |
parent | 96a1e15e60216b52da0e6da5336b6d7f5b0188b0 (diff) |
et131x: 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.
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Acked-by: Mark Einon <mark.einon@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250716094733.28734-2-fourier.thomas@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions