The v5.15 has a linux-stable specific fixup in
commit 068b51219362 ("serial: fixup backport of "serial: Deassert
Transmit Enable on probe in driver-specific way")

Unfortunately that fixup left us with a duplicate label on this
branch (and -rt branch), causing:

drivers/tty/serial/fsl_lpuart.c:2983:1: error: duplicate label 
'failed_get_rs485'
|  2983 | failed_get_rs485:
|       | ^~~~~~~~~~~~~~~~
|
drivers/tty/serial/fsl_lpuart.c:2975:1:
note: previous definition of 'failed_get_rs485' with type 'void'
|  2975 | failed_get_rs485:
|       | ^~~~~~~~~~~~~~~~

Reading of the linux-stable fixup makes it reasonably clear that the
2nd instance of the label is the one that was meant to remain.

Signed-off-by: Paul Gortmaker <[email protected]>

diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c
index 68a51e524f0f..aa52b3ff9279 100644
--- a/drivers/tty/serial/fsl_lpuart.c
+++ b/drivers/tty/serial/fsl_lpuart.c
@@ -2972,7 +2972,6 @@ static int lpuart_probe(struct platform_device *pdev)
 
        return 0;
 
-failed_get_rs485:
        uart_remove_one_port(&lpuart_reg, &sport->port);
 failed_attach_port:
        pm_runtime_disable(&pdev->dev);
-- 
2.33.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12136): 
https://lists.yoctoproject.org/g/linux-yocto/message/12136
Mute This Topic: https://lists.yoctoproject.org/mt/96728644/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to