mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
qcacmn: Fix NR_CPUS overflow for one byte data structure
For one byte data structure of unsigned type, it is expected that the maximum value is 255. However, NR_CPUS is 512 in x86 setup of Napier. CRs-Fixed: 2158203 Change-Id: I057fb0cf3c11e687dfdd6cd2295b16743297d561
This commit is contained in:
parent
2649554e73
commit
8107b66d8f
1 changed files with 2 additions and 1 deletions
|
|
@ -5205,7 +5205,8 @@ static void dp_print_napi_stats(struct dp_soc *soc)
|
|||
*/
|
||||
static void dp_print_per_ring_stats(struct dp_soc *soc)
|
||||
{
|
||||
uint8_t core, ring;
|
||||
uint8_t ring;
|
||||
uint16_t core;
|
||||
uint64_t total_packets;
|
||||
|
||||
DP_TRACE(FATAL, "Reo packets per ring:");
|
||||
|
|
|
|||
Loading…
Reference in a new issue