linux/drivers/infiniband/ulp
Md Haris Iqbal c14adff285 RDMA/rtrs-clt: Replace list_next_or_null_rr_rcu with an inline function
removes list_next_or_null_rr_rcu macro to fix below warnings.
That macro is used only twice.
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'head' - possible side-effects?
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'ptr' - possible side-effects?
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'memb' - possible side-effects?

Replaces that macro with an inline function.

Fixes: 6a98d71dae ("RDMA/rtrs: client: main functionality")
Cc: jinpu.wang@ionos.com
Link: https://lore.kernel.org/r/20220712103113.617754-5-haris.iqbal@ionos.com
Signed-off-by: Md Haris Iqbal <haris.iqbal@ionos.com>
Suggested-by: Jason Gunthorpe <jgg@ziepe.ca>
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2022-07-18 12:27:55 +03:00
..
ipoib ipoib: switch to netif_napi_add_weight() 2022-07-17 21:30:02 +03:00
iser IB/iser: Drain the entire QP during destruction flow 2022-06-24 16:17:46 -03:00
isert v5.19 pull request 2022-05-26 21:08:40 -07:00
opa_vnic RDMA/opa: Delete useless module.h include 2022-01-28 13:03:14 -04:00
rtrs RDMA/rtrs-clt: Replace list_next_or_null_rr_rcu with an inline function 2022-07-18 12:27:55 +03:00
srp RDMA: Split kernel-only global device caps from uverbs device caps 2022-04-06 15:02:13 -03:00
srpt scsi: target: srpt: Replace enable attr with ops.enable 2021-10-04 23:27:38 -04:00
Makefile RDMA/rtrs: include client and server modules into kernel compilation 2020-05-17 18:57:15 -03:00