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]

 



> Subject: [PATCH rdma-next] IB/i40iw: Avoid typecast from void to pci_dev
> 
> 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>
> ---
>  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(-)
> 

Looks good. Thanks Parav!

Acked-by: Shiraz Saleem <shiraz.saleem@xxxxxxxxx>



[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