Skip to contentSkip to conversation

IB/rdmavt: return proper error code

PATCH Markus Elfring 1 participant 1 message Apr 23, 2020 InfiniBand

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines

The function rvt_create_mmap_info() can return either NULL or an error in ERR_PTR(). Check properly for both the error type and return the error code accordingly.

How do you think about to add the tag “Fixes” because of adjustments for the exception handling?

Regards,
Markus