diff options
| author | Christoph Hellwig <[email protected]> | 2019-02-13 08:01:21 +0100 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2019-02-18 22:41:03 +1100 |
| commit | 9b18114c0be0193ebe772e45b3731602f056d54e (patch) | |
| tree | 9bde6e9eed69e9a34714af83075687f9944f2c0c /tools/perf/scripts/python | |
| parent | 74194cdaac41f6dfaacd9433f739dcbd83125d0b (diff) | |
powerpc/dma: fix an off-by-one in dma_capable
We need to compare the last byte in the dma range and not the one after it
for the bus_dma_mask, just like we do for the regular dma_mask. Fix this
cleanly by merging the two comparisms into one.
Signed-off-by: Christoph Hellwig <[email protected]>
Tested-by: Christian Zigotzky <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions