Re: [PATCH rdma-next 1/2] RDMA/hns: Fix wrong alignment of port_pd variable

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

 



On Tue, Mar 19, 2019 at 11:10:08AM +0200, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> 
> port_pd is treated as le32 in declaration and read, fix assignment to be
> in le32 too. This change fixes the following compilation warnings.
> 
> drivers/infiniband/hw/hns/hns_roce_ah.c:67:24: warning: incorrect type
> in assignment (different base types)
> drivers/infiniband/hw/hns/hns_roce_ah.c:67:24: expected restricted __le32 [usertype] port_pd
> drivers/infiniband/hw/hns/hns_roce_ah.c:67:24: got restricted __be32 [usertype]
> 
> Fixes: 9a4435375cd1 ("IB/hns: Add driver files for hns RoCE driver")
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> Reviewed-by: Gal Pressman <galpress@xxxxxxxxxx>
>  drivers/infiniband/hw/hns/hns_roce_ah.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

I just saw Lijun Ou reviewed this series, so 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