diff options
author | David Daney <david.daney@cavium.com> | 2016-08-16 23:30:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-19 07:16:37 +0300 |
commit | 1423661fed2c40d6d71b5e2e3aa390f85157f9d5 (patch) | |
tree | 8443105714495293e44f4c9daca2eeb87b52f645 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 039a392733600d35c80d406a98151b2a9a0a74b4 (diff) | |
download | linux-1423661fed2c40d6d71b5e2e3aa390f85157f9d5.tar.xz |
net: thunderx: Fix OOPs with ethtool --register-dump
The ethtool_ops .get_regs function attempts to read the nonexistent
register NIC_QSET_SQ_0_7_CNM_CHG, which produces a "bus error" type
OOPs.
Fix by not attempting to read, and removing the definition of,
NIC_QSET_SQ_0_7_CNM_CHG. A zero is written into the register dump to
keep the layout unchanged.
Signed-off-by: David Daney <david.daney@cavium.com>
Cc: <stable@vger.kernel.org> # 4.4.x-
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions