Re: [PATCH -next] staging: kpc2000: fix error return code in kp2000_pcie_probe()

From: Dan Carpenter
Date: Wed May 06 2020 - 08:57:50 EST


On Wed, May 06, 2020 at 12:52:55PM +0000, Wei Yongjun wrote:
> Fix to return a negative error code from the error handling
> case instead of 0, as done elsewhere in this function. Also
> removed var 'rv' since we can use 'err' instead.
>
> Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx>

Also could you add a Fixes tag? This goes all the way back to the
original commit:

Fixes: 7dc7967fc39a ("staging: kpc2000: add initial set of Daktronics drivers")

regards,
dan carpenter