diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2016-04-20 18:45:54 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-05-14 00:46:45 +0300 |
commit | fb5277f2c2e4db4a29740ff071072a688892d2df (patch) | |
tree | 778ebc482001afc2a817fe893bc25c2c4fbab8dc /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 8008f68cb805c0099723ba1b58d26257a52ce890 (diff) | |
download | linux-fb5277f2c2e4db4a29740ff071072a688892d2df.tar.xz |
e1000e: e1000e_cyclecounter_read(): incvalue is 32 bits, not 64
"incvalue" variable holds a result of "er32(TIMINCA) &
E1000_TIMINCA_INCVALUE_MASK" and used in "do_div(temp, incvalue)"
as a divisor.
Thus, "u64 incvalue" declaration is probably a mistake.
Even though it seems to be a harmless one, let's fix it.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions