Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [REGRESSION] stable-rc/linux-5.15.y: (build) mixing declarations and code is a C99 extension [-Werror,-Wdeclara...
@ 2026-07-21 22:59 KernelCI bot
  2026-07-22 16:43 ` Sasha Levin
  0 siblings, 1 reply; 5+ messages in thread
From: KernelCI bot @ 2026-07-21 22:59 UTC (permalink / raw)
  To: kernelci-results; +Cc: stable

New build issue found on stable-rc/linux-5.15.y:

---
 mixing declarations and code is a C99 extension [-Werror,-Wdeclaration-after-statement] in arch/arm64/kvm/vgic/vgic-its.o (arch/arm64/kvm/vgic/vgic-its.c) [logspec:kbuild,kbuild.compiler.error]
---

Log excerpt:
=====================================================
/tmp/kci/linux/arch/arm64/kvm/vgic/vgic-its.c:716:2: error: mixing declarations and code is a C99 extension [-Werror,-Wdeclaration-after-statement]
  716 |         guard(srcu)(&kvm->srcu);
      |         ^
/tmp/kci/linux/include/linux/cleanup.h:109:15: note: expanded from macro 'guard'
  109 |         CLASS(_name, __UNIQUE_ID(guard))
      |                      ^
/tmp/kci/linux/include/linux/compiler-clang.h:20:29: note: expanded from macro '__UNIQUE_ID'
   20 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
      |                             ^
/tmp/kci/linux/include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
   60 | #define __PASTE(a,b) ___PASTE(a,b)
      |                      ^
/tmp/kci/linux/include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
   59 | #define ___PASTE(a,b) a##b
      |                       ^
<scratch space>:133:1: note: expanded from here
  133 | __UNIQUE_ID_guard463
      | ^
1 error generated.

=====================================================

When fixing this issue, please attribute this report according to the
patch submission rules:

Reported-by: kernelci.org bot <bot@kernelci.org>

For complete logs and details about the environment used, see the issue
on the KernelCI dashboard:

- dashboard: https://d.kernelci.org/i/maestro:501da437b2af08f7b75636c19b2a7543fcc11ea8
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
- commit HEAD:  84542dc850e7585c7955126241840610f34ecb08

# Builds where the incident occurred:

## defconfig+allmodconfig on (arm64):
- compiler: clang-21
- config: None
- dashboard: https://d.kernelci.org/build/maestro:6a5f8d1075cb84fb216ed766

#kernelci issue maestro:501da437b2af08f7b75636c19b2a7543fcc11ea8

--
This is an experimental report format. Please send feedback in!
Talk to us at kernelci@lists.linux.dev

Made with love by the KernelCI team - https://kernelci.org

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [REGRESSION] stable-rc/linux-5.15.y: (build) mixing declarations and code is a C99 extension [-Werror,-Wdeclara...
@ 2026-07-20 12:59 KernelCI bot
  0 siblings, 0 replies; 5+ messages in thread
From: KernelCI bot @ 2026-07-20 12:59 UTC (permalink / raw)
  To: kernelci-results; +Cc: stable

New build issue found on stable-rc/linux-5.15.y:

---
 mixing declarations and code is a C99 extension [-Werror,-Wdeclaration-after-statement] in security/apparmor/policy.o (security/apparmor/policy.c) [logspec:kbuild,kbuild.compiler.error]
---

Log excerpt:
=====================================================
security/apparmor/policy.c:1111:10: error: mixing declarations and code is a C99 extension [-Werror,-Wdeclaration-after-statement]
 1111 |         ssize_t udata_sz = udata->size;
      |                 ^
  CC      kernel/tsacct.o
1 error generated.

=====================================================

When fixing this issue, please attribute this report according to the
patch submission rules:

Reported-by: kernelci.org bot <bot@kernelci.org>
Link: https://lore.kernel.org/all/178455234467.13416.9935390187344263712@kernelci.org/

For complete logs and details about the environment used, see the issue
on the KernelCI dashboard:

- dashboard: https://d.kernelci.org/i/maestro:418b90021496bfde5ca7a7b1397343e2894b899e
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
- commit HEAD:  76d302b34381c7f1ab7fe4d0882631c2fbbc030c

# Builds where the incident occurred:

## defconfig+allmodconfig+CONFIG_FRAME_WARN=2048 on (arm):
- compiler: clang-21
- config: None
- dashboard: https://d.kernelci.org/build/maestro:6a5e0c2a3427a5b0fb023362

## i386_defconfig+allmodconfig+CONFIG_FRAME_WARN=2048 on (i386):
- compiler: clang-21
- config: https://files.kernelci.org/kbuild-clang-21-i386-allmodconfig-6a5e0c8a3427a5b0fb023447/.config
- dashboard: https://d.kernelci.org/build/maestro:6a5e0c8a3427a5b0fb023447

#kernelci issue maestro:418b90021496bfde5ca7a7b1397343e2894b899e

--
This is an experimental report format. Please send feedback in!
Talk to us at kernelci@lists.linux.dev

Made with love by the KernelCI team - https://kernelci.org

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [REGRESSION] stable-rc/linux-5.15.y: (build) mixing declarations and code is a C99 extension [-Werror,-Wdeclara...
@ 2026-05-30 12:59 KernelCI bot
  2026-05-30 15:48 ` Sasha Levin
  0 siblings, 1 reply; 5+ messages in thread
From: KernelCI bot @ 2026-05-30 12:59 UTC (permalink / raw)
  To: kernelci-results; +Cc: gus, stable





Hello,

New build issue found on stable-rc/linux-5.15.y:

---
 mixing declarations and code is a C99 extension [-Werror,-Wdeclaration-after-statement] in drivers/gpu/drm/sun4i/sun4i_backend.o (drivers/gpu/drm/sun4i/sun4i_backend.c) [logspec:kbuild,kbuild.compiler.error]
---

- dashboard: https://d.kernelci.org/i/maestro:b88e04d5e82ea9d31baaa986d3bdde82d8cbe1c9
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
- commit HEAD:  7d04e65adb8f77e1495a808e731537e67ec04e8a


Please include the KernelCI tag when submitting a fix:

Reported-by: kernelci.org bot <bot@kernelci.org>


Log excerpt:
=====================================================
/tmp/kci/linux/drivers/gpu/drm/sun4i/sun4i_backend.c:513:29: error: mixing declarations and code is a C99 extension [-Werror,-Wdeclaration-after-statement]
  513 |                 struct sun4i_layer_state *layer_state =
      |                                           ^
1 error generated.

=====================================================


# Builds where the incident occurred:

## defconfig+allmodconfig on (arm64):
- compiler: clang-21
- config: None
- dashboard: https://d.kernelci.org/build/maestro:6a1ac110ee38c2a863f01d7e

## defconfig+allmodconfig+CONFIG_FRAME_WARN=2048 on (arm):
- compiler: clang-21
- config: None
- dashboard: https://d.kernelci.org/build/maestro:6a1ac10cee38c2a863f01d7b


#kernelci issue maestro:b88e04d5e82ea9d31baaa986d3bdde82d8cbe1c9

--
This is an experimental report format. Please send feedback in!
Talk to us at kernelci@lists.linux.dev

Made with love by the KernelCI team - https://kernelci.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-07-22 16:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-21 22:59 [REGRESSION] stable-rc/linux-5.15.y: (build) mixing declarations and code is a C99 extension [-Werror,-Wdeclara KernelCI bot
2026-07-22 16:43 ` Sasha Levin
  -- strict thread matches above, loose matches on Subject: below --
2026-07-20 12:59 KernelCI bot
2026-05-30 12:59 KernelCI bot
2026-05-30 15:48 ` Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox