tree:
https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git rdma-next
head: fb60ce5917ddd769e17552ae421d056c0bb151a5
commit: fb60ce5917ddd769e17552ae421d056c0bb151a5 [76/76] RDMA/mlx5: Sync device with CPU
pages upon ODP MR registration
config: sparc64-randconfig-r035-20200909 (attached as .config)
compiler: sparc64-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 fb60ce5917ddd769e17552ae421d056c0bb151a5
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from drivers/infiniband/hw/mlx5/counters.c:6:
> drivers/infiniband/hw/mlx5/mlx5_ib.h:1308:5: warning: no previous
prototype for 'mlx5_ib_init_odp_mr' [-Wmissing-prototypes]
1308 | int
mlx5_ib_init_odp_mr(struct mlx5_ib_mr *mr, u64 user_va, size_t bcnt, bool enable) { return
0; }
| ^~~~~~~~~~~~~~~~~~~
#
https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git/commi...
git remote add leon-rdma
https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git
git fetch --no-tags leon-rdma rdma-next
git checkout fb60ce5917ddd769e17552ae421d056c0bb151a5
vim +/mlx5_ib_init_odp_mr +1308 drivers/infiniband/hw/mlx5/mlx5_ib.h
1292
1293 static inline int mlx5_ib_odp_init_one(struct mlx5_ib_dev *ibdev) { return 0; }
1294 static inline void mlx5_ib_odp_cleanup_one(struct mlx5_ib_dev *ibdev) {}
1295 static inline int mlx5_ib_odp_init(void) { return 0; }
1296 static inline void mlx5_ib_odp_cleanup(void) {}
1297 static inline void mlx5_odp_init_mr_cache_entry(struct mlx5_cache_ent *ent) {}
1298 static inline void mlx5_odp_populate_xlt(void *xlt, size_t idx, size_t nentries,
1299 struct mlx5_ib_mr *mr, int flags) {}
1300
1301 static inline int
1302 mlx5_ib_advise_mr_prefetch(struct ib_pd *pd,
1303 enum ib_uverbs_advise_mr_advice advice, u32 flags,
1304 struct ib_sge *sg_list, u32 num_sge)
1305 {
1306 return -EOPNOTSUPP;
1307 }
1308 int mlx5_ib_init_odp_mr(struct mlx5_ib_mr *mr, u64 user_va,
size_t bcnt, bool enable) { return 0; }
1309 #endif /*
CONFIG_INFINIBAND_ON_DEMAND_PAGING */
1310
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org