[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201801161019.F0Oplu28%fengguang.wu@intel.com>
Date: Tue, 16 Jan 2018 10:56:49 +0800
From: kbuild test robot <lkp@...el.com>
To: Rahul Lakkireddy <rahul.lakkireddy@...lsio.com>
Cc: kbuild-all@...org, netdev@...r.kernel.org, davem@...emloft.net,
ganeshgr@...lsio.com, nirranjan@...lsio.com, indranil@...lsio.com,
Rahul Lakkireddy <rahul.lakkireddy@...lsio.com>
Subject: Re: [PATCH net-next 2/2] cxgb4: speed up on-chip memory read
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
Powered by blists - more mailing lists