Skip to content

Fix warnings in cxgb3

Vipul Pandya netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cxgb3: Fix warning about using rcu_dereference when not in a rcu-locked sectiondrivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c+5 -40 replies
2/2cxgb3: Check and handle the dma mapping errorsdrivers/net/ethernet/chelsio/cxgb3/sge.c+82 -230 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJay Fenlason
1/2
2/2R-b

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 net-next 0/2] Fix warnings in cxgb3

The first warning is about using rcu_dereference() when not in a rcu-locked section. It only happens on initialization hence fix the initialization to not rcu_dereference().

The second warning is about not checking that a *dma_map*() call succeeded. This patch adds checks at approprate places.

We request this patch series to get merged via net-next tree.

Thanks,
Vipul

Jay Fenlason (1):
cxgb3: Fix warning about using rcu_dereference when not in a
rcu-locked section

Santosh Rastapur (1):
cxgb3: Check and handle the dma mapping errors

 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c |   9 +-
 drivers/net/ethernet/chelsio/cxgb3/sge.c           | 105 ++++++++++++++++-----
 2 files changed, 87 insertions(+), 27 deletions(-)
Signature · 1 line
1.8.0