public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Cezary Rojewski <cezary.rojewski@intel.com>
To: "David E. Box" <david.e.box@linux.intel.com>,
	<gregkh@linuxfoundation.org>, <mustafa.ismail@intel.com>,
	<shiraz.saleem@intel.com>, <dledford@redhat.com>, <jgg@ziepe.ca>,
	<leon@kernel.org>, <saeedm@nvidia.com>, <davem@davemloft.net>,
	<kuba@kernel.org>, <vkoul@kernel.org>,
	<yung-chuan.liao@linux.intel.com>,
	<pierre-louis.bossart@linux.intel.com>, <mst@redhat.com>,
	<jasowang@redhat.com>
Cc: <andriy.shevchenko@linux.intel.com>, <hdegoede@redhat.com>,
	<virtualization@lists.linux-foundation.org>,
	<alsa-devel@alsa-project.org>, <netdev@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <linux-rdma@vger.kernel.org>
Subject: Re: [PATCH 0/4] driver_core: Auxiliary drvdata helper cleanup
Date: Wed, 22 Dec 2021 13:34:31 +0100	[thread overview]
Message-ID: <43f04a56-8f1e-6325-c9bb-31164a4fc6ee@intel.com> (raw)
In-Reply-To: <20211221235852.323752-1-david.e.box@linux.intel.com>

On 2021-12-22 12:58 AM, David E. Box wrote:
> 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(-)

Changes look good, I did post one question regarding possible occurrence 
of dev_get_drvdata() not being accounted for in patch:
[PATCH 1/4] RDMA/irdma: Use auxiliary_device driver data helpers

However, it does look like a blocker so:

Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>


For the record, I did scan the following files (users of struct 
auxiliary_device) from drivers/ directory for the missing occurrences 
and found only a single one (as mentioned earlier):

drivers/net/ethernet/mellanox/mlx5/core/dev.c
drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c
drivers/net/ethernet/mellanox/mlx5/core/sf/dev/driver.c
drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.h
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/intel/i40e/i40e_client.c
drivers/net/ethernet/intel/ice/ice.h
drivers/net/ethernet/intel/ice/ice_idc.c
drivers/infiniband/hw/irdma/main.c
drivers/infiniband/hw/irdma/i40iw_if.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/ib_rep.c
drivers/vdpa/mlx5/net/mlx5_vnet.c
drivers/gpu/drm/bridge/ti-sn65dsi86.c
drivers/soundwire/intel_init.c
drivers/soundwire/intel.c


Regards,
Czarek

      parent reply	other threads:[~2021-12-22 12:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-21 23:58 [PATCH 0/4] driver_core: Auxiliary drvdata helper cleanup David E. Box
2021-12-21 23:58 ` [PATCH 1/4] RDMA/irdma: Use auxiliary_device driver data helpers David E. Box
2021-12-22 12:27   ` Cezary Rojewski
2021-12-21 23:58 ` [PATCH 2/4] soundwire: intel: " David E. Box
2021-12-22 11:18   ` Andy Shevchenko
2021-12-21 23:58 ` [PATCH 3/4] net/mlx5e: " David E. Box
2021-12-21 23:58 ` [PATCH 4/4] vdpa/mlx5: " David E. Box
2021-12-22  0:09 ` [PATCH 0/4] driver_core: Auxiliary drvdata helper cleanup Jason Gunthorpe
2021-12-22  0:48   ` David E. Box
2021-12-22 17:18     ` Jason Gunthorpe
2021-12-22 12:34 ` Cezary Rojewski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43f04a56-8f1e-6325-c9bb-31164a4fc6ee@intel.com \
    --to=cezary.rojewski@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=davem@davemloft.net \
    --cc=david.e.box@linux.intel.com \
    --cc=dledford@redhat.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hdegoede@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=jgg@ziepe.ca \
    --cc=kuba@kernel.org \
    --cc=leon@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=mustafa.ismail@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=saeedm@nvidia.com \
    --cc=shiraz.saleem@intel.com \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=vkoul@kernel.org \
    --cc=yung-chuan.liao@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox