public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [REGRESSION] stable/linux-5.10.y: (build) passing 'const struct fwnode_handle *' to parameter of type 'struc...
@ 2026-04-18  9:59 KernelCI bot
  2026-04-18 23:07 ` [PATCH 5.10] ACPI: property: Constify stubs for CONFIG_ACPI=n case Nathan Chancellor
  0 siblings, 1 reply; 3+ messages in thread
From: KernelCI bot @ 2026-04-18  9:59 UTC (permalink / raw)
  To: kernelci-results; +Cc: gus, stable





Hello,

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

---
 passing 'const struct fwnode_handle *' to parameter of type 'struct fwnode_handle *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] in drivers/base/property.o (drivers/base/property.c) [logspec:kbuild,kbuild.compiler.error]
---

- dashboard: https://d.kernelci.org/i/maestro:d1b6c3b17ff7c2164252525fdfd0d4e68224e5ad
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- commit HEAD:  49e5d20074c20b20773c6dc0f8dce0635591093b
- tags: v5.10.253

Please include the KernelCI tag when submitting a fix:

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


Log excerpt:
=====================================================
/tmp/kci/linux/drivers/base/property.c:896:48: error: passing 'const struct fwnode_handle *' to parameter of type 'struct fwnode_handle *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
  896 |         return acpi_dma_supported(to_acpi_device_node(fwnode));
      |                                                       ^~~~~~
/tmp/kci/linux/include/linux/acpi.h:756:77: note: passing argument to parameter 'fwnode' here
  756 | static inline struct acpi_device *to_acpi_device_node(struct fwnode_handle *fwnode)
      |                                                                             ^
/tmp/kci/linux/drivers/base/property.c:911:48: error: passing 'const struct fwnode_handle *' to parameter of type 'struct fwnode_handle *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
  911 |                 attr = acpi_get_dma_attr(to_acpi_device_node(fwnode));
      |                                                              ^~~~~~
/tmp/kci/linux/include/linux/acpi.h:756:77: note: passing argument to parameter 'fwnode' here
  756 | static inline struct acpi_device *to_acpi_device_node(struct fwnode_handle *fwnode)
      |                                                                             ^
2 errors generated.

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


# Builds where the incident occurred:

## multi_v7_defconfig on (arm):
- compiler: clang-21
- config: None
- dashboard: https://d.kernelci.org/build/maestro:69e3511d9b5a968309e62062


#kernelci issue maestro:d1b6c3b17ff7c2164252525fdfd0d4e68224e5ad

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

end of thread, other threads:[~2026-04-20 13:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-18  9:59 [REGRESSION] stable/linux-5.10.y: (build) passing 'const struct fwnode_handle *' to parameter of type 'struc KernelCI bot
2026-04-18 23:07 ` [PATCH 5.10] ACPI: property: Constify stubs for CONFIG_ACPI=n case Nathan Chancellor
2026-04-20 13:21   ` Sasha Levin

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