Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: KernelCI bot <bot@kernelci.org>
To: kernelci-results@groups.io
Cc: stable@vger.kernel.org
Subject: [REGRESSION] stable-rc/linux-6.6.y: (build) call to undeclared function 'kzalloc_obj'; ISO C99 and later do no...
Date: Thu, 30 Jul 2026 15:59:04 -0000	[thread overview]
Message-ID: <178542714373.4058.4312420996135460246@kernelci.org> (raw)

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

             reply	other threads:[~2026-07-30 15:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-30 15:59 KernelCI bot [this message]
2026-07-31 15:44 ` [REGRESSION] stable-rc/linux-6.6.y: (build) call to undeclared function 'kzalloc_obj'; ISO C99 and later do no Sasha Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178542714373.4058.4312420996135460246@kernelci.org \
    --to=bot@kernelci.org \
    --cc=kernelci-results@groups.io \
    --cc=kernelci@lists.linux.dev \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox