Re: [PATCH rdma-next] RDMA/cxgb4: Annotate r2 and stag as __be32

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

 



On Wed, 2017-10-25 at 15:12 -0500, Steve Wise wrote:
> > 
> > Chelsio cxgb4 HW is big-endian, hence there is need to properly
> > annotate r2 and stag fields as __be32 and not __u32 to fix the
> > following sparse warnings.
> > 
> >   drivers/infiniband/hw/cxgb4/qp.c:614:16:
> >     warning: incorrect type in assignment (different base types)
> >       expected unsigned int [unsigned] [usertype] r2
> >       got restricted __be32 [usertype] <noident>
> >   drivers/infiniband/hw/cxgb4/qp.c:615:18:
> >     warning: incorrect type in assignment (different base types)
> >       expected unsigned int [unsigned] [usertype] stag
> >       got restricted __be32 [usertype] <noident>
> > 
> > Cc: Steve Wise <swise@xxxxxxxxxxxxxxxxxxxxx>
> > Signed-off-by: Leon Romanovsky <leon@xxxxxxxxxx>
> 
> Looks fine. Thanks Leon!
> 
> Reviewed-by: Steve Wise <swise@xxxxxxxxxxxxxxxxxxxxx>
> 

Applied, thanks.

-- 
Doug Ledford <dledford@xxxxxxxxxx>
    GPG KeyID: B826A3330E572FDD
    Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

Attachment: signature.asc
Description: This is a digitally signed message part


[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