Hi Lizhi,
kernel test robot noticed the following build warnings:
[auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on linus/master v7.1-rc3 next-20260508] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Lizhi-Hou/accel-amdxdna-Remov... base: https://gitlab.freedesktop.org/drm/misc/kernel.git drm-misc-next patch link: https://lore.kernel.org/r/20260515155332.743097-1-lizhi.hou%40amd.com patch subject: [PATCH V1] accel/amdxdna: Remove mmap and export support for ubuf config: x86_64-randconfig-002-20260516 (https://download.01.org/0day-ci/archive/20260516/202605161116.6FTLJOlI-lkp@i...) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260516/202605161116.6FTLJOlI-lkp@i...)
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/202605161116.6FTLJOlI-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/accel/amdxdna/amdxdna_ubuf.c:86:42: warning: unused variable 'amdxdna_ubuf_vm_ops' [-Wunused-const-variable]
86 | static const struct vm_operations_struct amdxdna_ubuf_vm_ops = { | ^~~~~~~~~~~~~~~~~~~ 1 warning generated.
vim +/amdxdna_ubuf_vm_ops +86 drivers/accel/amdxdna/amdxdna_ubuf.c
bd72d4acda1069 Lizhi Hou 2025-07-16 85 bd72d4acda1069 Lizhi Hou 2025-07-16 @86 static const struct vm_operations_struct amdxdna_ubuf_vm_ops = { bd72d4acda1069 Lizhi Hou 2025-07-16 87 .fault = amdxdna_ubuf_vm_fault, bd72d4acda1069 Lizhi Hou 2025-07-16 88 }; bd72d4acda1069 Lizhi Hou 2025-07-16 89
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
linaro-mm-sig@lists.linaro.org