diff options
| author | Ansuel Smith <ansuelsmth@gmail.com> | 2021-05-14 23:59:57 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-05-15 01:30:22 +0300 |
| commit | aaf421425cbdec4eb6fd75a29e65c2867b0b7bbd (patch) | |
| tree | f8c4ecc1d1eb749c7dda7475adfd489199fb1b6b /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | d7805757c75c76e9518fc1023a29f0c4eed5b581 (diff) | |
| download | linux-aaf421425cbdec4eb6fd75a29e65c2867b0b7bbd.tar.xz | |
net: dsa: qca8k: handle error with qca8k_rmw operation
qca8k_rmw can fail. Rework any user to handle error values and
correctly return. Change qca8k_rmw to return the error code or 0 instead
of the reg value. The reg returned by qca8k_rmw wasn't used anywhere,
so this doesn't cause any functional change.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
