Hi Jonathan, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-xe/drm-xe-next] [also build test WARNING on next-20250227] [cannot apply to linus/master v6.14-rc4] [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/Jonathan-Cavitt/drm-xe-xe_gt_pagefault-Disallow-writes-to-read-only-VMAs/20250228-032204 base: https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next patch link: https://lore.kernel.org/r/20250227191457.84035-9-jonathan.cavitt%40intel.com patch subject: [PATCH v2 8/8] drm/xe/xe_vm: Implement xe_vm_get_property_ioctl config: i386-buildonly-randconfig-002-20250228 (https://download.01.org/0day-ci/archive/20250228/202502281118.XNrfLzlo-lkp@xxxxxxxxx/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/20250228/202502281118.XNrfLzlo-lkp@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202502281118.XNrfLzlo-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/xe/xe_vm.c:3267:3: warning: label followed by a declaration is a C23 extension [-Wc23-extensions] 3267 | struct xe_exec_queue_ban_entry *entry; | ^ 1 warning generated. vim +3267 drivers/gpu/drm/xe/xe_vm.c 3260 3261 static u32 xe_vm_get_property_size(struct xe_vm *vm, u32 property) 3262 { 3263 u32 size = 0; 3264 3265 switch (property) { 3266 case DRM_XE_VM_GET_PROPERTY_FAULTS: > 3267 struct xe_exec_queue_ban_entry *entry; 3268 3269 spin_lock(&vm->bans.lock); 3270 list_for_each_entry(entry, &vm->bans.list, list) { 3271 struct xe_pagefault *pf = entry->pf; 3272 3273 size += pf ? sizeof(struct drm_xe_ban) : 0; 3274 } 3275 spin_unlock(&vm->bans.lock); 3276 return size; 3277 case DRM_XE_VM_GET_PROPERTY_BANS: 3278 spin_lock(&vm->bans.lock); 3279 size = vm->bans.len * sizeof(struct drm_xe_ban); 3280 spin_unlock(&vm->bans.lock); 3281 return size; 3282 case DRM_XE_VM_GET_PROPERTY_NUM_RESETS: 3283 return 0; 3284 default: 3285 return -EINVAL; 3286 } 3287 } 3288 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki