From: Dan Carpenter Date: Wed, 06 May 2020 12:57:23 +0000 Subject: Re: [PATCH -next] staging: kpc2000: fix error return code in kp2000_pcie_probe() Message-Id: <20200506125723.GL1992@kadam> List-Id: References: <20200506125255.90336-1-weiyongjun1@huawei.com> In-Reply-To: <20200506125255.90336-1-weiyongjun1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Wei Yongjun Cc: devel@driverdev.osuosl.org, gregkh@linuxfoundation.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, simon@nikanor.nu 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 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