netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Netanel Belgazal <netanel@amazon.com>
Cc: kbuild-all@01.org, netdev@vger.kernel.org
Subject: [net-next:master 451/481] drivers/net/ethernet/amazon/ena/ena_com.h:1104:2: error: implicit declaration of function 'prefetchw'
Date: Tue, 23 Oct 2018 06:35:40 +0800	[thread overview]
Message-ID: <201810230637.UEli4e8q%fengguang.wu@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2922 bytes --]

Hi Netanel,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   21ea1d36f6dfcb1d59184937c672022d5d01902a
commit: 8c590f9776386b8f697fd0b7ed6142ae6e3de79e [451/481] net: ena: Fix Kconfig dependency on X86
config: microblaze-allmodconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 8.1.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 8c590f9776386b8f697fd0b7ed6142ae6e3de79e
        # save the attached .config to linux build tree
        GCC_VERSION=8.1.0 make.cross ARCH=microblaze 

All errors (new ones prefixed by >>):

   In file included from drivers/net/ethernet/amazon/ena/ena_com.c:33:
   drivers/net/ethernet/amazon/ena/ena_com.h: In function 'ena_com_get_next_bounce_buffer':
>> drivers/net/ethernet/amazon/ena/ena_com.h:1104:2: error: implicit declaration of function 'prefetchw' [-Werror=implicit-function-declaration]
     prefetchw(bounce_buf_ctrl->base_buffer +
     ^~~~~~~~~
   cc1: some warnings being treated as errors

vim +/prefetchw +1104 drivers/net/ethernet/amazon/ena/ena_com.h

1738cd3e Netanel Belgazal  2016-08-10  1092  
689b2bda Arthur Kiyanovski 2018-10-11  1093  static inline u8 *ena_com_get_next_bounce_buffer(struct ena_com_io_bounce_buffer_control *bounce_buf_ctrl)
689b2bda Arthur Kiyanovski 2018-10-11  1094  {
689b2bda Arthur Kiyanovski 2018-10-11  1095  	u16 size, buffers_num;
689b2bda Arthur Kiyanovski 2018-10-11  1096  	u8 *buf;
689b2bda Arthur Kiyanovski 2018-10-11  1097  
689b2bda Arthur Kiyanovski 2018-10-11  1098  	size = bounce_buf_ctrl->buffer_size;
689b2bda Arthur Kiyanovski 2018-10-11  1099  	buffers_num = bounce_buf_ctrl->buffers_num;
689b2bda Arthur Kiyanovski 2018-10-11  1100  
689b2bda Arthur Kiyanovski 2018-10-11  1101  	buf = bounce_buf_ctrl->base_buffer +
689b2bda Arthur Kiyanovski 2018-10-11  1102  		(bounce_buf_ctrl->next_to_use++ & (buffers_num - 1)) * size;
689b2bda Arthur Kiyanovski 2018-10-11  1103  
689b2bda Arthur Kiyanovski 2018-10-11 @1104  	prefetchw(bounce_buf_ctrl->base_buffer +
689b2bda Arthur Kiyanovski 2018-10-11  1105  		(bounce_buf_ctrl->next_to_use & (buffers_num - 1)) * size);
689b2bda Arthur Kiyanovski 2018-10-11  1106  
689b2bda Arthur Kiyanovski 2018-10-11  1107  	return buf;
689b2bda Arthur Kiyanovski 2018-10-11  1108  }
689b2bda Arthur Kiyanovski 2018-10-11  1109  

:::::: The code at line 1104 was first introduced by commit
:::::: 689b2bdaaa1480ad2c14bdc4c6eaf38284549022 net: ena: add functions for handling Low Latency Queues in ena_com

:::::: TO: Arthur Kiyanovski <akiyano@amazon.com>
:::::: CC: David S. Miller <davem@davemloft.net>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 54668 bytes --]

                 reply	other threads:[~2018-10-23  6:56 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=201810230637.UEli4e8q%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@01.org \
    --cc=netanel@amazon.com \
    --cc=netdev@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).