Skip to content
Commit 3920a758 authored by Sergio Perez Gonzalez's avatar Sergio Perez Gonzalez Committed by Jakub Kicinski
Browse files

net: macb: Check return value of dma_set_mask_and_coherent()

Issue flagged by coverity. Add a safety check for the return value
of dma_set_mask_and_coherent, go to a safe exit if it returns error.

Link: https://scan7.scan.coverity.com/#/project-view/53936/11354?selectedIssue=1643754


Signed-off-by: default avatarSergio Perez Gonzalez <sperezglz@gmail.com>
Reviewed-by: default avatarClaudiu Beznea <claudiu.beznea@tuxon.dev>
Link: https://patch.msgid.link/20250526032034.84900-1-sperezglz@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 126cd785
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment