All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Convert to use ERR_CAST()
@ 2025-04-01 13:07 shao.mingyin
  2025-04-01 13:08 ` [PATCH 1/3] RDMA/core: " shao.mingyin
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: shao.mingyin @ 2025-04-01 13:07 UTC (permalink / raw)
  To: jgg
  Cc: leon, li.haoran7, linux-rdma, linux-kernel, viro, brauner,
	agoldberger, cmeiohas, msanalla, dan.carpenter, mrgolin, phaddad,
	ynachum, mgurtovoy, yang.yang29, xu.xin16, ye.xingchen

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-04-07 18:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-01 13:07 [PATCH 0/3] Convert to use ERR_CAST() shao.mingyin
2025-04-01 13:08 ` [PATCH 1/3] RDMA/core: " shao.mingyin
2025-04-01 13:09 ` [PATCH 2/3] RDMA/uverbs: " shao.mingyin
2025-04-01 13:10 ` [PATCH 3/3] RDMA/core: " shao.mingyin
2025-04-07 18:12 ` [PATCH 0/3] " Jason Gunthorpe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.