Commit 41e2649c authored by Li Haoran's avatar Li Haoran Committed by Jason Gunthorpe
Browse files

RDMA/core: Convert to use ERR_CAST()

As opposed to open-code, using the ERR_CAST macro clearly indicates that
this is a pointer to an error value and a type conversion was performed.

Link: https://patch.msgid.link/r/20250401210840146_IyrV3zlejzz3eAnDmMSB@zte.com.cn


Signed-off-by: default avatarLi Haoran <li.haoran7@zte.com.cn>
Signed-off-by: default avatarShao Mingyin <shao.mingyin@zte.com.cn>
Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
parent 2633ddff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment