From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: [asahilinux:bits/240-isp 104/104] arch/powerpc/include/asm/io.h:697:29: error: implicit declaration of function 'readq'; did you mean 'readl'?
Date: Mon, 30 Nov 2026 11:01:18 +0100 [thread overview]
Message-ID: <20261130105646.QfOkUXkQ-lkp@intel.com> (raw)
::::::
:::::: Manual check reason: "too many reports for this commit"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Sofus Forstreuter <sofus.c@icloud.com>
CC: Janne Grunau <j@jannau.net>
tree: https://github.com/AsahiLinux/linux bits/240-isp
head: a8d695c590dce32e51a585ee96711819849e01be
commit: a8d695c590dce32e51a585ee96711819849e01be [104/104] media: apple: msr: add piodma
:::::: branch date: 19 hours ago
:::::: commit date: 19 hours ago
config: powerpc-randconfig-r2311-20261130 (https://download.01.org/0day-ci/archive/20261130/20261130105646.QfOkUXkQ-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 8.5.0
sparse: v0.6.5-rc1-21-g84ec0658
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261130/20261130105646.QfOkUXkQ-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261130105646.QfOkUXkQ-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/io.h:12,
from include/linux/irq.h:20,
from arch/powerpc/include/asm/hardirq.h:6,
from include/linux/hardirq.h:11,
from include/linux/interrupt.h:11,
from drivers/media/platform/apple/msr/piodma.c:9:
drivers/media/platform/apple/msr/piodma.c: In function 'dbg_registers':
>> arch/powerpc/include/asm/io.h:697:29: error: implicit declaration of function 'readq'; did you mean 'readl'? [-Werror=implicit-function-declaration]
#define readq_relaxed(addr) readq(addr)
^~~~~
include/linux/printk.h:483:19: note: in expansion of macro 'readq_relaxed'
_p_func(_fmt, ##__VA_ARGS__); \
^~~~~~~~~~~
include/linux/printk.h:511:26: note: in expansion of macro 'printk_index_wrap'
#define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~
include/linux/printk.h:584:2: note: in expansion of macro 'printk'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~
drivers/media/platform/apple/msr/piodma.c:90:3: note: in expansion of macro 'pr_info'
pr_info("piodma: " fmt, ##args); \
^~~~~~~
drivers/media/platform/apple/msr/piodma.c:141:2: note: in expansion of macro 'pio_dbg'
pio_dbg(2, "MEM_RD_ADDR: %#llx\n",
^~~~~~~
In file included from include/asm-generic/bug.h:31,
from arch/powerpc/include/asm/bug.h:116,
from include/linux/bug.h:5,
from include/linux/thread_info.h:13,
from arch/powerpc/include/asm/processor.h:41,
from include/linux/sched.h:13,
from include/linux/ratelimit.h:6,
from drivers/media/platform/apple/msr/piodma.c:8:
include/linux/kern_levels.h:5:18: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 2 has type 'int' [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^~~~~~
include/linux/printk.h:483:11: note: in definition of macro 'printk_index_wrap'
_p_func(_fmt, ##__VA_ARGS__); \
^~~~
include/linux/printk.h:584:2: note: in expansion of macro 'printk'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
include/linux/printk.h:584:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
drivers/media/platform/apple/msr/piodma.c:90:3: note: in expansion of macro 'pr_info'
pr_info("piodma: " fmt, ##args); \
^~~~~~~
drivers/media/platform/apple/msr/piodma.c:141:2: note: in expansion of macro 'pio_dbg'
pio_dbg(2, "MEM_RD_ADDR: %#llx\n",
^~~~~~~
drivers/media/platform/apple/msr/piodma.c:141:31: note: format string is defined here
pio_dbg(2, "MEM_RD_ADDR: %#llx\n",
~~~~^
%#x
In file included from include/asm-generic/bug.h:31,
from arch/powerpc/include/asm/bug.h:116,
from include/linux/bug.h:5,
from include/linux/thread_info.h:13,
from arch/powerpc/include/asm/processor.h:41,
from include/linux/sched.h:13,
from include/linux/ratelimit.h:6,
from drivers/media/platform/apple/msr/piodma.c:8:
include/linux/kern_levels.h:5:18: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 2 has type 'int' [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^~~~~~
include/linux/printk.h:483:11: note: in definition of macro 'printk_index_wrap'
_p_func(_fmt, ##__VA_ARGS__); \
^~~~
include/linux/printk.h:584:2: note: in expansion of macro 'printk'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
include/linux/printk.h:584:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
drivers/media/platform/apple/msr/piodma.c:90:3: note: in expansion of macro 'pr_info'
pr_info("piodma: " fmt, ##args); \
^~~~~~~
drivers/media/platform/apple/msr/piodma.c:143:2: note: in expansion of macro 'pio_dbg'
pio_dbg(2, "MEM_WR_ADDR: %#llx\n",
^~~~~~~
drivers/media/platform/apple/msr/piodma.c:143:31: note: format string is defined here
pio_dbg(2, "MEM_WR_ADDR: %#llx\n",
~~~~^
%#x
In file included from include/asm-generic/bug.h:31,
from arch/powerpc/include/asm/bug.h:116,
from include/linux/bug.h:5,
from include/linux/thread_info.h:13,
from arch/powerpc/include/asm/processor.h:41,
from include/linux/sched.h:13,
from include/linux/ratelimit.h:6,
from drivers/media/platform/apple/msr/piodma.c:8:
include/linux/kern_levels.h:5:18: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 2 has type 'int' [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^~~~~~
include/linux/printk.h:483:11: note: in definition of macro 'printk_index_wrap'
_p_func(_fmt, ##__VA_ARGS__); \
^~~~
include/linux/printk.h:584:2: note: in expansion of macro 'printk'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~
vim +697 arch/powerpc/include/asm/io.h
68a64357d15ae4 include/asm-powerpc/io.h Benjamin Herrenschmidt 2006-11-13 690
4cb3cee03d558f include/asm-powerpc/io.h Benjamin Herrenschmidt 2006-11-11 691 /*
4cb3cee03d558f include/asm-powerpc/io.h Benjamin Herrenschmidt 2006-11-11 692 * We don't do relaxed operations yet, at least not with this semantic
4cb3cee03d558f include/asm-powerpc/io.h Benjamin Herrenschmidt 2006-11-11 693 */
^1da177e4c3f41 include/asm-ppc64/io.h Linus Torvalds 2005-04-16 694 #define readb_relaxed(addr) readb(addr)
^1da177e4c3f41 include/asm-ppc64/io.h Linus Torvalds 2005-04-16 695 #define readw_relaxed(addr) readw(addr)
^1da177e4c3f41 include/asm-ppc64/io.h Linus Torvalds 2005-04-16 696 #define readl_relaxed(addr) readl(addr)
^1da177e4c3f41 include/asm-ppc64/io.h Linus Torvalds 2005-04-16 @697 #define readq_relaxed(addr) readq(addr)
5da590574cbc39 arch/powerpc/include/asm/io.h Will Deacon 2013-09-04 698 #define writeb_relaxed(v, addr) writeb(v, addr)
5da590574cbc39 arch/powerpc/include/asm/io.h Will Deacon 2013-09-04 699 #define writew_relaxed(v, addr) writew(v, addr)
5da590574cbc39 arch/powerpc/include/asm/io.h Will Deacon 2013-09-04 700 #define writel_relaxed(v, addr) writel(v, addr)
5da590574cbc39 arch/powerpc/include/asm/io.h Will Deacon 2013-09-04 701 #define writeq_relaxed(v, addr) writeq(v, addr)
^1da177e4c3f41 include/asm-ppc64/io.h Linus Torvalds 2005-04-16 702
:::::: The code at line 697 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-11-30 10:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20261130105646.QfOkUXkQ-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.