diff options
author | Alexey Khoroshilov <[email protected]> | 2017-05-20 01:52:11 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-05-22 12:05:01 -0400 |
commit | bd703a1524e851b8d6d646be9dafd794d4eb6045 (patch) | |
tree | bccc0d440b8b99c8ece4a973b593a2aed173d8d7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 232cd35d0804cc241eb887bb8d4d9b3b9881c64a (diff) |
net: atheros: atl2: don't return zero on failure path in atl2_probe()
If dma mask checks fail in atl2_probe(), it breaks off initialization,
deallocates all resources, but returns zero.
The patch adds proper error code return value and
make error code setup unified.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions