Commit 8a94c42d 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/20250401211015750qxOfU9XZ8QgKizM1Lcyq2@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 7bc871af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment