Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [REGRESSION] stable-rc/linux-6.6.y: (build) call to undeclared function 'kzalloc_obj'; ISO C99 and later do no...
@ 2026-07-30 15:59 KernelCI bot
  2026-07-31 15:44 ` Sasha Levin
  0 siblings, 1 reply; 2+ messages in thread
From: KernelCI bot @ 2026-07-30 15:59 UTC (permalink / raw)
  To: kernelci-results; +Cc: stable

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

---
 call to undeclared function 'kzalloc_obj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] in drivers/firmware/stratix10-svc.o (drivers/firmware/stratix10-svc.c) [logspec:kbuild,kbuild.compiler.error]
---

Log excerpt:
=====================================================
/tmp/kci/linux/drivers/firmware/stratix10-svc.c:1086:9: error: call to undeclared function 'kzalloc_obj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 1086 |         pmem = kzalloc_obj(*pmem);
      |                ^
/tmp/kci/linux/drivers/firmware/stratix10-svc.c:1086:9: note: did you mean 'kzalloc_node'?
/tmp/kci/linux/include/linux/slab.h:730:37: note: 'kzalloc_node' declared here
  730 | static inline __alloc_size(1) void *kzalloc_node(size_t size, gfp_t flags, int node)
      |                                     ^
/tmp/kci/linux/drivers/firmware/stratix10-svc.c:1086:7: error: incompatible integer to pointer conversion assigning to 'struct stratix10_svc_data_mem *' from 'int' [-Wint-conversion]
 1086 |         pmem = kzalloc_obj(*pmem);
      |              ^ ~~~~~~~~~~~~~~~~~~
2 errors 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:1c59e08d26a3998eb3dda3d8b7e9e1e0318b8fd5
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
- commit HEAD:  9c792855fefcc3161b47b8794beaa1a26f0dafde

# Builds where the incident occurred:

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

#kernelci issue maestro:1c59e08d26a3998eb3dda3d8b7e9e1e0318b8fd5

--
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] 2+ messages in thread

* Re: [REGRESSION] stable-rc/linux-6.6.y: (build) call to undeclared function 'kzalloc_obj'; ISO C99 and later do no...
  2026-07-30 15:59 [REGRESSION] stable-rc/linux-6.6.y: (build) call to undeclared function 'kzalloc_obj'; ISO C99 and later do no KernelCI bot
@ 2026-07-31 15:44 ` Sasha Levin
  0 siblings, 0 replies; 2+ messages in thread
From: Sasha Levin @ 2026-07-31 15:44 UTC (permalink / raw)
  To: kernelci-results; +Cc: Sasha Levin, stable, KernelCI bot

On Thu, Jul 30, 2026 at 03:59:04PM -0000, KernelCI bot wrote:
>New build issue found on stable-rc/linux-6.6.y:
>
>/tmp/kci/linux/drivers/firmware/stratix10-svc.c:1086:9: error: call to undeclared function 'kzalloc_obj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> 1086 |         pmem = kzalloc_obj(*pmem);

The stratix10-svc patch was already dropped from the 6.1 and 6.6 queues,
so this particular failure is handled.

--
Thanks,
Sasha

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

end of thread, other threads:[~2026-07-31 15:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-30 15:59 [REGRESSION] stable-rc/linux-6.6.y: (build) call to undeclared function 'kzalloc_obj'; ISO C99 and later do no KernelCI bot
2026-07-31 15:44 ` Sasha Levin

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