summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2023-04-03 02:17:19 +0100
committerDavid S. Miller <davem@davemloft.net>2023-04-03 10:13:00 +0100
commitb6f56cddb5f57a0b8da0ce582232a2f1933558c6 (patch)
treeb286bfe7c1d9b7da4bc5508195038c60d8582ad4 /tools/perf/scripts/python/export-to-postgresql.py
parent56b029ddac8eebdeb3d8a15c8aed71a1c62e4924 (diff)
net: dsa: mt7530: make some noise if register read fails
Simply returning the negative error value instead of the read value doesn't seem like a good idea. Return 0 instead and add WARN_ON_ONCE(1) so this kind of error will not go unnoticed. Suggested-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Daniel Golle <daniel@makrotopia.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> 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