From: Li Haoran <li.haoran7@zte.com.cn>
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.
Li Haoran (3):
RDMA/core: Convert to use ERR_CAST()
RDMA/uverbs: Convert to use ERR_CAST()
RDMA/core: Convert to use ERR_CAST()
drivers/infiniband/core/mad_rmpp.c | 2 +-
drivers/infiniband/core/uverbs_cmd.c | 2 +-
drivers/infiniband/core/verbs.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
--
2.25.1