diff options
author | Sebastian Ott <[email protected]> | 2013-06-18 17:32:26 +0200 |
---|---|---|
committer | Martin Schwidefsky <[email protected]> | 2013-06-19 09:25:42 +0200 |
commit | 73e5a848426fae8e7f1f685389aa61d7a98e7c36 (patch) | |
tree | cfd900078f9b66a5b53d97d64243065ae0b1aef9 /tools/perf/util/trace-event-scripting.c | |
parent | 690cec8e70c211d1f5f6e520b21a68d0306173b6 (diff) |
s390/dma: fix mapping_error detection
The map_page implementation of s390 returns DMA_ERROR_CODE in an error
situation. Correctly test if a mapping was erroneous (DMA_ERROR_CODE is
defined as ~0).
Signed-off-by: Sebastian Ott <[email protected]>
Acked-by: Gerald Schaefer <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions