* [hch-misc:kfifo-include 1/1] drivers/mailbox/omap-mailbox.c:96:16: error: implicit declaration of function '__raw_readl'; did you mean '__tsan_read1'?
@ 2024-10-11 5:41 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-11 5:41 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: oe-kbuild-all
tree: git://git.infradead.org/users/hch/misc.git kfifo-include
head: 5a122872045100223f0e44256a62ed2b1f85d985
commit: 5a122872045100223f0e44256a62ed2b1f85d985 [1/1] kfifo: don't include dma-mapping.h in kfifo.h
config: x86_64-buildonly-randconfig-001-20241011 (https://download.01.org/0day-ci/archive/20241011/202410111307.5FaZFium-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241011/202410111307.5FaZFium-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/oe-kbuild-all/202410111307.5FaZFium-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/mailbox/omap-mailbox.c: In function 'mbox_read_reg':
>> drivers/mailbox/omap-mailbox.c:96:16: error: implicit declaration of function '__raw_readl'; did you mean '__tsan_read1'? [-Werror=implicit-function-declaration]
96 | return __raw_readl(mdev->mbox_base + ofs);
| ^~~~~~~~~~~
| __tsan_read1
drivers/mailbox/omap-mailbox.c: In function 'mbox_write_reg':
>> drivers/mailbox/omap-mailbox.c:102:9: error: implicit declaration of function '__raw_writel'; did you mean '__tsan_write1'? [-Werror=implicit-function-declaration]
102 | __raw_writel(val, mdev->mbox_base + ofs);
| ^~~~~~~~~~~~
| __tsan_write1
cc1: some warnings being treated as errors
vim +96 drivers/mailbox/omap-mailbox.c
5040f534385a300 Suman Anna 2014-06-24 92
72c1c8179cdc5ba Suman Anna 2014-06-24 93 static inline
72c1c8179cdc5ba Suman Anna 2014-06-24 94 unsigned int mbox_read_reg(struct omap_mbox_device *mdev, size_t ofs)
5040f534385a300 Suman Anna 2014-06-24 95 {
72c1c8179cdc5ba Suman Anna 2014-06-24 @96 return __raw_readl(mdev->mbox_base + ofs);
5040f534385a300 Suman Anna 2014-06-24 97 }
5040f534385a300 Suman Anna 2014-06-24 98
72c1c8179cdc5ba Suman Anna 2014-06-24 99 static inline
72c1c8179cdc5ba Suman Anna 2014-06-24 100 void mbox_write_reg(struct omap_mbox_device *mdev, u32 val, size_t ofs)
5040f534385a300 Suman Anna 2014-06-24 101 {
72c1c8179cdc5ba Suman Anna 2014-06-24 @102 __raw_writel(val, mdev->mbox_base + ofs);
5040f534385a300 Suman Anna 2014-06-24 103 }
5040f534385a300 Suman Anna 2014-06-24 104
:::::: The code at line 96 was first introduced by commit
:::::: 72c1c8179cdc5ba7208d375bd3f104659fc50ad0 mailbox/omap: add a parent structure for every IP instance
:::::: TO: Suman Anna <s-anna@ti.com>
:::::: CC: Tony Lindgren <tony@atomide.com>
--
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:[~2024-10-11 5:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-11 5:41 [hch-misc:kfifo-include 1/1] drivers/mailbox/omap-mailbox.c:96:16: error: implicit declaration of function '__raw_readl'; did you mean '__tsan_read1'? 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.