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

Dan Carpenter dan.carpenter at oracle.com
Wed May 6 12:57:23 UTC 2020


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 at huawei.com>

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



More information about the devel mailing list