Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [REGRESSION] stable-rc/linux-6.1.y: (build)too few arguments to function ‘pm_runtime_get_if_active’; expected ...
@ 2026-11-18 12:59 KernelCI bot
  2026-11-19 16:08 ` Sasha Levin
  0 siblings, 1 reply; 2+ messages in thread
From: KernelCI bot @ 2026-11-18 12:59 UTC (permalink / raw)
  To: kernelci-results; +Cc: stable

Cc from: regression/stable-rc.yaml

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

---
too few arguments to function ‘pm_runtime_get_if_active’; expected 2, have 1 in drivers/dma/ste_dma40.o (drivers/dma/ste_dma40.c) [logspec:kbuild,kbuild.compiler.error]
---

Log excerpt:
=====================================================
/tmp/kci/linux/drivers/dma/ste_dma40.c:1694:15: error: too few arguments to function ‘pm_runtime_get_if_active’; expected 2, have 1
 1694 |         ret = pm_runtime_get_if_active(base->dev);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/kci/linux/drivers/dma/ste_dma40.c:19:
/tmp/kci/linux/include/linux/pm_runtime.h:76:12: note: declared here
   76 | extern int pm_runtime_get_if_active(struct device *dev, bool ign_usage_count);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/kci/linux/drivers/dma/ste_dma40.c: In function ‘d40_hw_detect_init’:
/tmp/kci/linux/drivers/dma/ste_dma40.c:3305:32: error: returning ‘int’ from a function with return type ‘struct d40_base *’ makes pointer from integer without a cast [-Wint-conversion]
 3305 |                         return -EINVAL;
      |                                ^

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

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:02b2acf6c5cfe769de2f75185c8d473200fb618d
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
- commit HEAD:  80555b0524e00b3e34b4619457160cbb971ec8e8

# Builds where the incident occurred:

## multi_v7_defconfig on (arm):
- compiler: gcc-15
- config: None
- dashboard: https://d.kernelci.org/build/maestro:6afd915199c74e1a997d3841

## multi_v7_defconfig+netdev+nfs-root-boot+ltp+crypto+ima on (arm):
- compiler: gcc-15
- config: None
- dashboard: https://d.kernelci.org/build/maestro:6afd915599c74e1a997d3846

#kernelci issue maestro:02b2acf6c5cfe769de2f75185c8d473200fb618d

--
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.1.y: (build)too few arguments to function ‘pm_runtime_get_if_active’; expected ...
  2026-11-18 12:59 [REGRESSION] stable-rc/linux-6.1.y: (build)too few arguments to function ‘pm_runtime_get_if_active’; expected KernelCI bot
@ 2026-11-19 16:08 ` Sasha Levin
  0 siblings, 0 replies; 2+ messages in thread
From: Sasha Levin @ 2026-11-19 16:08 UTC (permalink / raw)
  To: kernelci-results; +Cc: Sasha Levin, stable, KernelCI bot

> too few arguments to function ‘pm_runtime_get_if_active’; expected 2, have 1 in drivers/dma/ste_dma40.o (drivers/dma/ste_dma40.c)

Thanks. This comes from the queued ste_dma40 series, not from a release.  I'm
dropping 12787e3f2f93 ("dmaengine: ste_dma40: Check runtime PM in IRQ") and
c96e9f056095 ("dmaengine: ste_dma40: Validate disabled channel indexes") from
the 6.1, 5.15 and 5.10 queues: those trees take two arguments in
pm_runtime_get_if_active() and return a pointer from d40_hw_detect_init().

-- 
Thanks,
Sasha

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

end of thread, other threads:[~2026-11-19 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-18 12:59 [REGRESSION] stable-rc/linux-6.1.y: (build)too few arguments to function ‘pm_runtime_get_if_active’; expected KernelCI bot
2026-11-19 16:08 ` Sasha Levin

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