aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAlexey Khoroshilov2017-05-20 01:52:11 +0300
committerDavid S. Miller2017-05-22 12:05:01 -0400
commitbd703a1524e851b8d6d646be9dafd794d4eb6045 (patch)
treebccc0d440b8b99c8ece4a973b593a2aed173d8d7 /kernel
parent232cd35d0804cc241eb887bb8d4d9b3b9881c64a (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 <khoroshilov@ispras.ru> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions