mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
qcacmn: Correct the data type of byte count variable
Use a 64-bit data type for byte count variable to prevent data overflow. Change-Id: I0e4927ebeece05cb9ee0360400e6a0da27862d32 CRs-Fixed: 2165595
This commit is contained in:
parent
479698e1d7
commit
8e79865e11
2 changed files with 39 additions and 38 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2011-2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2011-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
|
|
@ -787,7 +787,7 @@ struct cdp_pkt_info {
|
|||
/*no of packets*/
|
||||
uint32_t num;
|
||||
/* total no of bytes */
|
||||
uint32_t bytes;
|
||||
uint64_t bytes;
|
||||
};
|
||||
|
||||
/* Tx Stats */
|
||||
|
|
|
|||
Loading…
Reference in a new issue