mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
greybus: loopback: use a 32-bit count
The count of statistical samples recorded is currently a 64-bit value. 32 bits is sufficient, and in fact anything more than that won't work for the do_div() call it's pass to anyway. So make the count field be 32 bits. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
e051c82b2b
commit
e13fc28f72
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ struct gb_loopback_stats {
|
|||
u32 max;
|
||||
u64 avg;
|
||||
u64 sum;
|
||||
u64 count;
|
||||
u32 count;
|
||||
};
|
||||
|
||||
struct gb_loopback {
|
||||
|
|
|
|||
Loading…
Reference in a new issue