tree:
https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git net-next-mlx5
head: 8da28234fdc1b6b67a99169b7ffb5c223dfa0e6a
commit: 8200fbfffdb59611884f165cd1769ec03de405ef [8/49] net/mlx5e: kTLS, Add kTLS RX HW
offload support
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 8200fbfffdb59611884f165cd1769ec03de405ef
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=xtensa
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
In file included from arch/xtensa/include/asm/processor.h:15,
from arch/xtensa/include/asm/atomic.h:18,
from include/linux/atomic.h:7,
from include/linux/refcount.h:95,
from include/net/act_api.h:9,
from include/net/tc_act/tc_gact.h:5,
from drivers/net/ethernet/mellanox/mlx5/core/en_main.c:33:
include/linux/scatterlist.h: In function 'sg_set_buf':
arch/xtensa/include/asm/page.h:193:9: warning: comparison of unsigned expression >= 0
is always true [-Wtype-limits]
193 | ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
| ^~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
143 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~
arch/xtensa/include/asm/page.h:201:32: note: in expansion of macro 'pfn_valid'
201 | #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
| ^~~~~~~~~
include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
143 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~~~~~~~~~~
In file included from ./arch/xtensa/include/generated/asm/bug.h:1,
from include/linux/bug.h:5,
from include/linux/refcount.h:96,
from include/net/act_api.h:9,
from include/net/tc_act/tc_gact.h:5,
from drivers/net/ethernet/mellanox/mlx5/core/en_main.c:33:
include/linux/dma-mapping.h: In function 'dma_map_resource':
arch/xtensa/include/asm/page.h:193:9: warning: comparison of unsigned expression >= 0
is always true [-Wtype-limits]
193 | ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
| ^~
include/asm-generic/bug.h:144:27: note: in definition of macro 'WARN_ON_ONCE'
144 | int __ret_warn_once = !!(condition); |
^~~~~~~~~
include/linux/dma-mapping.h:352:19: note: in expansion of macro 'pfn_valid'
352 | if (WARN_ON_ONCE(pfn_valid(PHYS_PFN(phys_addr))))
| ^~~~~~~~~
In file included from drivers/net/ethernet/mellanox/mlx5/core/en_main.c:49:
drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h: In function
'mlx5e_accel_sk_get_rxq':
>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h:153:12: error: implicit
declaration of function 'sk_rx_queue_get'; did you mean 'sk_rx_queue_set'?
[-Werror=implicit-function-declaration]
153 | int rxq = sk_rx_queue_get(sk);
| ^~~~~~~~~~~~~~~
| sk_rx_queue_set
cc1: some warnings being treated as errors
vim +153 drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h
150
151 static inline int mlx5e_accel_sk_get_rxq(struct sock *sk)
152 {
153 int rxq = sk_rx_queue_get(sk);
154
155 if (unlikely(rxq == -1))
156 rxq = 0;
157
158 return rxq;
159 }
160
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org