mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-04 04:44:37 +08:00
RDMA/cxgb4: Declare stag as __be32
The scqe.stag is actually __b32, fix it. drivers/infiniband/hw/cxgb4/cq.c:754:52: warning: cast to restricted __be32 Cc: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Reviewed-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
3bfbea7473
commit
35fb2a88ed
@ -171,7 +171,7 @@ struct t4_cqe {
|
||||
__be32 msn;
|
||||
} rcqe;
|
||||
struct {
|
||||
u32 stag;
|
||||
__be32 stag;
|
||||
u16 nada2;
|
||||
u16 cidx;
|
||||
} scqe;
|
||||
|
Loading…
Reference in New Issue
Block a user