Re: [REGRESSION] next/master: (build) cannot jump from this goto statement to its label in drivers/opp/o...
Viresh Kumar <[email protected]> Thu, 23 Oct 2025 12:06:07 +0530
| Newsgroups | dev.linux.lists.kernelci,dev.linux.lists.regressions,org.kernel.vger.linux-next |
|---|---|
| Message-ID | <tficx5oz7gtakb5ffd3j5cikjmrfw3js53r4k2xhoxi6z5lok3@a64sj3k7kovf> |
On 23-10-25, 17:09, Stephen Rothwell wrote: > On Thu, 23 Oct 2025 05:59:04 -0000 KernelCI bot <[email protected]> wrote: > > > > Hello, > > > > New build issue found on next/master: > > > > --- > > cannot jump from this goto statement to its label in drivers/opp/of.o (drivers/opp/of.c) [logspec:kbuild,kbuild.compiler.error] > > --- > > > > - dashboard: https://d.kernelci.org/i/maestro:992b985637471b20dfed6cb78dc938315a3ba8b6 > > - giturl: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > > - commit HEAD: efb26a23ed5f5dc3554886ab398f559dcb1de96b > > - tags: next-20251023 > > > > > > Log excerpt: > > ===================================================== > > drivers/opp/of.c:1545:3: error: cannot jump from this goto statement to its label > > 1545 | goto register_em; > > | ^ > > drivers/opp/of.c:1548:22: note: jump bypasses initialization of variable with __attribute__((cleanup)) > > 1548 | struct device_node *np __free(device_node) = of_node_get(dev->of_node); > > | ^ > > drivers/opp/of.c:1539:3: error: cannot jump from this goto statement to its label > > 1539 | goto failed; > > | ^ > > drivers/opp/of.c:1548:22: note: jump bypasses initialization of variable with __attribute__((cleanup)) > > 1548 | struct device_node *np __free(device_node) = of_node_get(dev->of_node); > > | ^ > > drivers/opp/of.c:1533:3: error: cannot jump from this goto statement to its label > > 1533 | goto failed; > > | ^ > > drivers/opp/of.c:1548:22: note: jump bypasses initialization of variable with __attribute__((cleanup)) > > 1548 | struct device_node *np __free(device_node) = of_node_get(dev->of_node); > > | ^ > > 3 errors generated. Fixed and pushed. I didn't check with Clang earlier and so missed this. -- viresh