Re: [PATCH v2 03/13] RDMA: Add ib_copy_validate_udata_in()

kernel test robot
2026-02-27T07:52:14Z

Hi Jason,

kernel test robot noticed the following build errors:

[auto build test ERROR on 3f4a08e64442340f4807de63e30aef22cc308830]

url: https://github.com/intel-lab-lkp/linux/commits/Jason-Gunthorpe/RDMA-Use-copy_struct_from_user-instead-of-open-coding/20260227-093947
base: 3f4a08e64442340f4807de63e30aef22cc308830
patch link: https://lore.kernel.org/r/3-v2-13af4a900857%2B4f13-bnxt_re_uapi_jgg%40nvidia.com
patch subject: [PATCH v2 03/13] RDMA: Add ib_copy_validate_udata_in()
config: loongarch-defconfig (https://download.01.org/0day-ci/archive/20260227/202602271548.rksoOQrN-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260227/202602271548.rksoOQrN-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602271548.rksoOQrN-lkp@intel.com/

All errors (new ones prefixed by >>):

In file included from drivers/infiniband/core/nldev.c:44:
In file included from drivers/infiniband/core/uverbs.h:49:
In file included from include/rdma/uverbs_std_types.h:10:
>> include/rdma/uverbs_ioctl.h:964:10: error: use of undeclared identifier 'EVINAL'
964 | return -EVINAL;
| ^
1 error generated.

vim +/EVINAL +964 include/rdma/uverbs_ioctl.h

959
960 static inline int _ib_copy_validate_udata_in(struct ib_udata *udata, void *req,
961 size_t kernel_size,
962 size_t minimum_size)
963 {
> 964 return -EVINAL;
965 }
966

--
0-DAY CI Kernel Test Service