mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
i40iw: Fix typecast of tcp_seq_num
The typecast of tcp_seq_num incorrectly uses u8. Fix by casting to u32. Signed-off-by: Mustafa Ismail <[email protected]> Signed-off-by: Henry Orosco <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
This commit is contained in:
parent
8129331f01
commit
29c2415a66
1 changed files with 1 additions and 1 deletions
|
|
@ -784,7 +784,7 @@ static enum i40iw_status_code i40iw_cq_poll_completion(struct i40iw_cq_uk *cq,
|
|||
get_64bit_val(cqe, 0, &qword0);
|
||||
get_64bit_val(cqe, 16, &qword2);
|
||||
|
||||
info->tcp_seq_num = (u8)RS_64(qword0, I40IWCQ_TCPSEQNUM);
|
||||
info->tcp_seq_num = (u32)RS_64(qword0, I40IWCQ_TCPSEQNUM);
|
||||
|
||||
info->qp_id = (u32)RS_64(qword2, I40IWCQ_QPID);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue