Re: [PATCH rdma-next] IB/i40iw: Avoid typecast from void to pci_dev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 14, 2020 at 03:35:28PM +0300, Parav Pandit wrote:
> From: Parav Pandit <parav@xxxxxxxxxx>
> 
> hw_context stores pci device pointer. Use the pci_dev pointer instead of
> void * and avoid typecasts.
> 
> Signed-off-by: Parav Pandit <parav@xxxxxxxxxx>
> Acked-by: Shiraz Saleem <shiraz.saleem@xxxxxxxxx>
> ---
>  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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux