All of lore.kernel.org
 help / color / mirror / Atom feed
* [asahilinux:bits/240-isp 104/104] arch/powerpc/include/asm/io.h:697:29: error: implicit declaration of function 'readq'; did you mean 'readl'?
@ 2026-11-30 10:01 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-11-30 10:01 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-30 10:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 10:01 [asahilinux:bits/240-isp 104/104] arch/powerpc/include/asm/io.h:697:29: error: implicit declaration of function 'readq'; did you mean 'readl'? kernel test robot

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.