This is a note to let you know that I've just added the patch titled phy: cadence: Sierra: Fix error return code in cdns_sierra_phy_probe() to the 5.12-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: phy-cadence-sierra-fix-error-return-code-in-cdns_sierra_phy_probe.patch and it can be found in the queue-5.12 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 6411e386db0a477217607015e7d2910d02f75426 Mon Sep 17 00:00:00 2001 From: Wang Wensheng <wangwensheng4@xxxxxxxxxx> Date: Mon, 17 May 2021 01:57:49 +0000 Subject: phy: cadence: Sierra: Fix error return code in cdns_sierra_phy_probe() From: Wang Wensheng <wangwensheng4@xxxxxxxxxx> commit 6411e386db0a477217607015e7d2910d02f75426 upstream. Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: a43f72ae136a ("phy: cadence: Sierra: Change MAX_LANES of Sierra to 16") Reported-by: Hulk Robot <hulkci@xxxxxxxxxx> Signed-off-by: Wang Wensheng <wangwensheng4@xxxxxxxxxx> Link: https://lore.kernel.org/r/20210517015749.127799-1-wangwensheng4@xxxxxxxxxx Signed-off-by: Vinod Koul <vkoul@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/phy/cadence/phy-cadence-sierra.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/phy/cadence/phy-cadence-sierra.c +++ b/drivers/phy/cadence/phy-cadence-sierra.c @@ -612,6 +612,7 @@ static int cdns_sierra_phy_probe(struct sp->nsubnodes = node; if (sp->num_lanes > SIERRA_MAX_LANES) { + ret = -EINVAL; dev_err(dev, "Invalid lane configuration\n"); goto put_child2; } Patches currently in stable-queue which might be from wangwensheng4@xxxxxxxxxx are queue-5.12/phy-cadence-sierra-fix-error-return-code-in-cdns_sierra_phy_probe.patch