Skip to content

driver_core: Auxiliary drvdata helper cleanup

David E. Box alsa-devel linux-rdma lkml netdev oe-kbuild-all virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4RDMA/irdma: Use auxiliary_device driver data helpersdrivers/infiniband/hw/irdma/main.c drivers/infiniband/hw/mlx5/main.c+6 -61 reply
2/4soundwire: intel: Use auxiliary_device driver data helpersdrivers/soundwire/intel.c drivers/soundwire/intel_init.c+5 -51 reply
3/4net/mlx5e: Use auxiliary_device driver data helpersdrivers/net/ethernet/mellanox/mlx5/core/en_main.c+4 -40 replies
4/4vdpa/mlx5: Use auxiliary_device driver data helpersdrivers/vdpa/mlx5/net/mlx5_vnet.c+2 -20 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndy ShevchenkoCezary Rojewski
SeriesR-b
1/4
2/4R-b
3/4
4/4

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/4] driver_core: Auxiliary drvdata helper cleanup

Depends on "driver core: auxiliary bus: Add driver data helpers" patch [1]. Applies the helpers to all auxiliary device drivers using dev_(get/set)_drvdata. Drivers were found using the following search:

    grep -lr "struct auxiliary_device" $(grep -lr "drvdata" .)

Changes were build tested using the following configs:

vdpa/mlx5: CONFIG_MLX5_VDPA_NET
net/mlx53: CONFIG_MLX5_CORE_EN
soundwire/intel: CONFIG_SOUNDWIRE_INTEL
RDAM/irdma: CONFIG_INFINIBAND_IRDMA
CONFIG_MLX5_INFINIBAND

[1] https://www.spinics.net/lists/platform-driver-x86/msg29940.html

David E. Box (4):
RDMA/irdma: Use auxiliary_device driver data helpers
soundwire: intel: Use auxiliary_device driver data helpers net/mlx5e: Use auxiliary_device driver data helpers vdpa/mlx5: Use auxiliary_device driver data helpers

 drivers/infiniband/hw/irdma/main.c                | 4 ++--
 drivers/infiniband/hw/mlx5/main.c                 | 8 ++++----
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 8 ++++----
 drivers/soundwire/intel.c                         | 8 ++++----
 drivers/soundwire/intel_init.c                    | 2 +-
 drivers/vdpa/mlx5/net/mlx5_vnet.c                 | 4 ++--
 6 files changed, 17 insertions(+), 17 deletions(-)
Signature · 1 line
2.25.1