From: Alexey Khoroshilov <khoroshi...@ispras.ru> 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 <khoroshi...@ispras.ru> Looks good, applied, thanks.