All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Parav Pandit <parav@mellanox.com>
Cc: <faisal.latif@intel.com>, <shiraz.saleem@intel.com>,
	<dledford@redhat.com>, <linux-rdma@vger.kernel.org>,
	Parav Pandit <parav@nvidia.com>
Subject: Re: [PATCH rdma-next] IB/i40iw: Avoid typecast from void to pci_dev
Date: Wed, 16 Sep 2020 13:44:38 -0300	[thread overview]
Message-ID: <20200916164438.GA19370@nvidia.com> (raw)
In-Reply-To: <20200914123528.270382-1-parav@mellanox.com>

On Mon, Sep 14, 2020 at 03:35:28PM +0300, Parav Pandit wrote:
> From: Parav Pandit <parav@nvidia.com>
> 
> hw_context stores pci device pointer. Use the pci_dev pointer instead of
> void * and avoid typecasts.
> 
> Signed-off-by: Parav Pandit <parav@nvidia.com>
> Acked-by: Shiraz Saleem <shiraz.saleem@intel.com>
> ---
>  drivers/infiniband/hw/i40iw/i40iw_main.c  | 2 +-
>  drivers/infiniband/hw/i40iw/i40iw_pble.c  | 4 ++--
>  drivers/infiniband/hw/i40iw/i40iw_type.h  | 3 ++-
>  drivers/infiniband/hw/i40iw/i40iw_utils.c | 4 ++--
>  drivers/infiniband/hw/i40iw/i40iw_verbs.c | 2 +-
>  5 files changed, 8 insertions(+), 7 deletions(-)

Applied to for-next, thanks

Jason

      parent reply	other threads:[~2020-09-16 20:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-14 12:35 [PATCH rdma-next] IB/i40iw: Avoid typecast from void to pci_dev Parav Pandit
2020-09-16 14:53 ` Saleem, Shiraz
2020-09-16 16:44 ` Jason Gunthorpe [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=20200916164438.GA19370@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=dledford@redhat.com \
    --cc=faisal.latif@intel.com \
    --cc=linux-rdma@vger.kernel.org \
    --cc=parav@mellanox.com \
    --cc=parav@nvidia.com \
    --cc=shiraz.saleem@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.