All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Christoph Hellwig <hch@lst.de>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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'?
Date: Fri, 11 Oct 2024 13:41:00 +0800	[thread overview]
Message-ID: <202410111307.5FaZFium-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-10-11  5:41 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=202410111307.5FaZFium-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=hch@lst.de \
    --cc=oe-kbuild-all@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.