Skip to content
Snippets Groups Projects
Commit aeddf8e6 authored by Yan Zhen's avatar Yan Zhen Committed by Chuck Lever
Browse files

sunrpc: xprtrdma: Use ERR_CAST() to return


Using ERR_CAST() is more reasonable and safer, When it is necessary
to convert the type of an error pointer and return it.

Signed-off-by: default avatarYan Zhen <yanzhen@vivo.com>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 2869b3a0
No related branches found
No related tags found
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