Thread (2 messages) flat view 2 messages, 2 authors, 2017-05-22

Re: [PATCH] net: atheros: atl2: don't return zero on failure path in atl2_probe()

From: David Miller <davem@davemloft.net>
Date: 2017-05-22 16:05:23
Also in: lkml

From: Alexey Khoroshilov <redacted>
Date: Sat, 20 May 2017 01:52:11 +0300
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 <redacted>
Looks good, applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help