diff options
author | 2013-05-14 21:20:02 +0000 | |
---|---|---|
committer | 2013-05-15 14:42:14 -0700 | |
commit | 0d709d91b85b71568b41b323d2a2c761f18e5213 (patch) | |
tree | ee22ad6ce525fcdf66fd9ac3bf73e7591b2f718b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/macb: fix ISR clear-on-write behavior only for some SoC (diff) | |
download | linux-dev-0d709d91b85b71568b41b323d2a2c761f18e5213.tar.xz linux-dev-0d709d91b85b71568b41b323d2a2c761f18e5213.zip |
ipg: fix an unsigned widening cast of '~' truncation issue
The bug here is this code from ipg_nic_hard_start_xmit():
txfd->tfc &= cpu_to_le64(~IPG_TFC_TFDDONE);
IPG_TFC_TFDDONE is 0x0000000080000000 so it's an unsigned int. The
negated value is 0x7fffffff but 0xffffffff7fffffff was intended.
The other values in this file don't need to be changed but I did it for
consistency.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions