Re: [PATCH rdma-next] RDMA/qedr: endianness warnings cleanup

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

 



On Thu, Oct 01, 2020 at 10:09:59AM +0000, Alok Prasad wrote:
> Making a change to fix following sparse warnings
> reported by kbuild bot.
> 
>  CHECK   drivers/infiniband/hw/qedr/verbs.c
> 
> drivers/infiniband/hw/qedr/verbs.c:3872:59: warning: incorrect type in assignment (different base types)
> drivers/infiniband/hw/qedr/verbs.c:3872:59:    expected restricted __le32 [usertype] sge_prod
> drivers/infiniband/hw/qedr/verbs.c:3872:59:    got unsigned int [usertype] sge_prod
> drivers/infiniband/hw/qedr/verbs.c:3875:59: warning: incorrect type in assignment (different base types)
> drivers/infiniband/hw/qedr/verbs.c:3875:59:    expected restricted __le32 [usertype] wqe_prod
> drivers/infiniband/hw/qedr/verbs.c:3875:59:    got unsigned int [usertype] wqe_prod
> 
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
> Fixes: acca72e2b031 ("RDMA/qedr: SRQ's bug fixes")
> Signed-off-by: Igor Russkikh <irusskikh@xxxxxxxxxxx>
> Signed-off-by: Michal Kalderon <mkalderon@xxxxxxxxxxx>
> Signed-off-by: Alok Prasad <palok@xxxxxxxxxxx>
> ---
>  drivers/infiniband/hw/qedr/verbs.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 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