From: kbuild test robot <lkp@intel.com>
To: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Cc: kbuild-all@01.org, netdev@vger.kernel.org, davem@davemloft.net,
ganeshgr@chelsio.com, nirranjan@chelsio.com,
indranil@chelsio.com,
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Subject: Re: [PATCH net-next 2/2] cxgb4: speed up on-chip memory read
Date: Tue, 16 Jan 2018 10:56:49 +0800 [thread overview]
Message-ID: <201801161019.F0Oplu28%fengguang.wu@intel.com> (raw)
In-Reply-To: <04973543b10018aab310aa0c22f0ee81d715d1e1.1515921116.git.rahul.lakkireddy@chelsio.com>
Hi Rahul,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on net-next/master]
url: https://github.com/0day-ci/linux/commits/Rahul-Lakkireddy/cxgb4-rework-on-chip-memory-read/20180116-050826
reproduce:
# apt-get install sparse
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
>> drivers/net/ethernet/chelsio/cxgb4/cudbg_intrinsic_avx.c:48:21: sparse: cast removes address space of expression
vim +48 drivers/net/ethernet/chelsio/cxgb4/cudbg_intrinsic_avx.c
37
38 unsigned int cudbg_mem_read_avx(struct cudbg_init *pdbg_init, u32 start,
39 u32 offset, u32 size, u32 mem_aperture,
40 u8 *outbuf)
41 {
42 #ifdef CONFIG_AS_AVX
43 u32 max_read_len = CUDBG_MEM_ALIGN_AVX;
44 struct adapter *adap = pdbg_init->adap;
45 u8 *reg_addr, *src_addr, *dst_addr;
46 u32 bytes_read, read_len;
47
> 48 reg_addr = (u8 *)adap->regs + start + offset;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
next prev parent reply other threads:[~2018-01-16 2:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-14 9:32 [PATCH net-next 0/2] cxgb4: speed up reading on-chip memory Rahul Lakkireddy
2018-01-14 9:32 ` [PATCH net-next 1/2] cxgb4: rework on-chip memory read Rahul Lakkireddy
2018-01-16 1:59 ` kbuild test robot
2018-01-14 9:32 ` [PATCH net-next 2/2] cxgb4: speed up " Rahul Lakkireddy
2018-01-16 2:56 ` kbuild test robot [this message]
2018-01-14 17:17 ` [PATCH net-next 0/2] cxgb4: speed up reading on-chip memory David Miller
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=201801161019.F0Oplu28%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=davem@davemloft.net \
--cc=ganeshgr@chelsio.com \
--cc=indranil@chelsio.com \
--cc=kbuild-all@01.org \
--cc=netdev@vger.kernel.org \
--cc=nirranjan@chelsio.com \
--cc=rahul.lakkireddy@chelsio.com \
/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).