Skip to content

Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x,NULL)

Monam Agarwal lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/net/ethernet/broadcom/bnx2.cdrivers/net/ethernet/broadcom/bnx2.c+1 -11 reply
2/9rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.cdrivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c+2 -21 reply
3/9rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/net/macvtap.cdrivers/net/macvtap.c+4 -41 reply
4/9rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)drivers/net/ppp/pptp.c+1 -11 reply
5/9rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)drivers/net/wireless/ath/carl9170/main.c+6 -61 reply
6/9rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)drivers/scsi/libfc/fc_libfc.c+2 -20 replies
7/9rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)drivers/target/tcm_fc/tfc_sess.c+1 -10 replies
8/9rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)drivers/vhost/net.c+1 -10 replies
9/9rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)drivers/vhost/test.c+1 -10 replies

Reviews trailers per patch

5 of 9 patches have a Reviewed-by or Acked-by.

PatchPaul E. McKenney
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9R-b
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x,NULL)

This patchset uses following coccinelle script to replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x,NULL)

@@
expression E;
@@
- rcu_assign_pointer(
+ RCU_INIT_POINTER(
E, NULL)

Monam Agarwal (9):
rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x,
NULL) in drivers/net/ethernet/broadcom/bnx2.c
rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x,
NULL) in drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c
rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x,
NULL) in drivers/net/macvtap.c
rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x,
NULL)
rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x,
NULL)
rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x,
NULL)
rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x,
NULL)
rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x,
NULL)
rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x,
NULL)

 drivers/net/ethernet/broadcom/bnx2.c               |    2 +-
 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c |    4 ++--
 drivers/net/macvtap.c                              |    8 ++++----
 drivers/net/ppp/pptp.c                             |    2 +-
 drivers/net/wireless/ath/carl9170/main.c           |   12 ++++++------
 drivers/scsi/libfc/fc_libfc.c                      |    4 ++--
 drivers/target/tcm_fc/tfc_sess.c                   |    2 +-
 drivers/vhost/net.c                                |    2 +-
 drivers/vhost/test.c                               |    2 +-
 9 files changed, 19 insertions(+), 19 deletions(-)
Signature · 1 line
1.7.9.5