Re: linux-next: build failure after merge of the tty tree
From: Praveen Talari
Date: Tue Jul 14 2026 - 02:07:13 EST
Hi Mark,
On 13-07-2026 20:12, Mark Brown wrote:
Hi all,
After merging the tty tree, today's linux-next build (x86_64 allmodconfig)
failed like this:
/tmp/next/build/drivers/tty/serial/qcom_geni_serial.c:1925:4: error:
cannot jump from this goto statement to its label
1925 | goto error;
| ^
/tmp/next/build/drivers/tty/serial/qcom_geni_serial.c:1931:44: note:
jump bypasses initialization of variable with __attribute__((cleanup))
1931 | PM_RUNTIME_ACQUIRE_IF_ENABLED(uport->dev, pm);
| ^
/tmp/next/build/drivers/tty/serial/qcom_geni_serial.c:1916:3: error:
cannot jump from this goto statement to its label
1916 | goto error;
| ^
/tmp/next/build/drivers/tty/serial/qcom_geni_serial.c:1931:44: note:
jump bypasses initialization of variable with __attribute__((cleanup))
1931 | PM_RUNTIME_ACQUIRE_IF_ENABLED(uport->dev, pm);
| ^
/tmp/next/build/drivers/tty/serial/qcom_geni_serial.c:1911:3: error:
cannot jump from this goto statement to its label
1911 | goto error;
| ^
/tmp/next/build/drivers/tty/serial/qcom_geni_serial.c:1931:44: note:
jump bypasses initialization of variable with __attribute__((cleanup))
1931 | PM_RUNTIME_ACQUIRE_IF_ENABLED(uport->dev, pm);
| ^
/tmp/next/build/drivers/tty/serial/qcom_geni_serial.c:1887:3: error:
cannot jump from this goto statement to its label
1887 | goto error;
| ^
/tmp/next/build/drivers/tty/serial/qcom_geni_serial.c:1931:44: note:
jump bypasses initialization of variable with __attribute__((cleanup))
1931 | PM_RUNTIME_ACQUIRE_IF_ENABLED(uport->dev, pm);
| ^
/tmp/next/build/drivers/tty/serial/qcom_geni_serial.c:1881:3: error:
cannot jump from this goto statement to its label
1881 | goto error;
| ^
/tmp/next/build/drivers/tty/serial/qcom_geni_serial.c:1931:44: note:
jump bypasses initialization of variable with __attribute__((cleanup))
1931 | PM_RUNTIME_ACQUIRE_IF_ENABLED(uport->dev, pm);
| ^
/tmp/next/build/drivers/tty/serial/qcom_geni_serial.c:1872:4: error:
cannot jump from this goto statement to its label
1872 | goto error;
| ^
/tmp/next/build/drivers/tty/serial/qcom_geni_serial.c:1931:44: note:
jump bypasses initialization of variable with __attribute__((cleanup))
1931 | PM_RUNTIME_ACQUIRE_IF_ENABLED(uport->dev, pm);
| ^
/tmp/next/build/drivers/tty/serial/qcom_geni_serial.c:1864:4: error:
cannot jump from this goto statement to its label
1864 | goto error;
| ^
/tmp/next/build/drivers/tty/serial/qcom_geni_serial.c:1931:44: note:
jump bypasses initialization of variable with __attribute__((cleanup))
1931 | PM_RUNTIME_ACQUIRE_IF_ENABLED(uport->dev, pm);
| ^
/tmp/next/build/drivers/tty/serial/qcom_geni_serial.c:1848:3: error:
cannot jump from this goto statement to its label
1848 | goto error;
| ^
/tmp/next/build/drivers/tty/serial/qcom_geni_serial.c:1931:44: note:
jump bypasses initialization of variable with __attribute__((cleanup))
1931 | PM_RUNTIME_ACQUIRE_IF_ENABLED(uport->dev, pm);
| ^
8 errors generated.
I don't see these errors in my local build. Is there any specific way to build to see these errors?
Thanks,
Praveen Talari
Caused by commit
3d71f8d7eeb37 (serial: qcom-geni: remove .pm callback, use runtime PM in startup/shutdown)
I have used the tree from next-20260710 instead.