summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2020-07-14 17:23:00 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-15 00:53:45 +0300
commit65878fd95261d3a831e085e2c6f1e8a6d7979b14 (patch)
tree2b62bf9f874aa7f6439f194dfe5cde35b544a46d /tools/perf
parent62f0379c6c9b169b99a89c4677a32e45d7778bc4 (diff)
downloadlinux-65878fd95261d3a831e085e2c6f1e8a6d7979b14.tar.xz
s390/qeth: clean up error handling for isolation mode cmds
As the cmd IO path has learned to propagate errnos back to its callers, let them deal with errors instead of trying to restore their previous configuration from within the IO error path. Also translate the HW error to a meaningful errno, instead of returning -EIO for all cases (and don't map this to -EOPNOTSUPP later on...). While at it, add a READ_ONCE() / WRITE_ONCE() pair to ensure that the data path always sees a valid isolation mode during reconfiguration. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions