Hi Hamza, kernel test robot noticed the following build warnings:
[auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on drm/drm-next drm-i915/for-linux-next drm-i915/for-linux-next-fixes drm-tip/drm-tip linus/master v6.19-rc6 next-20260122] [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/Hamza-Mahfooz/drm-amdgpu-implement-page_flip_timeout-support/20260123-085944 base: https://gitlab.freedesktop.org/drm/misc/kernel.git drm-misc-next patch link: https://lore.kernel.org/r/20260123000537.2450496-2-someguy%40effective-light.com patch subject: [PATCH 2/2] drm/amdgpu: implement page_flip_timeout() support config: loongarch-defconfig (https://download.01.org/0day-ci/archive/20260123/[email protected]/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/20260123/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c:348:2: warning: unannotated >> fall-through between switch labels [-Wimplicit-fallthrough] 348 | default: | ^ drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c:348:2: note: insert '__attribute__((fallthrough));' to silence this warning 348 | default: | ^ | __attribute__((fallthrough)); drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c:348:2: note: insert 'break;' to avoid fall-through 348 | default: | ^ | break; 1 warning generated. vim +348 drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c 2656e1ce783a90 Eric Huang 2024-06-03 315 2656e1ce783a90 Eric Huang 2024-06-03 316 void amdgpu_reset_get_desc(struct amdgpu_reset_context *rst_ctxt, char *buf, 2656e1ce783a90 Eric Huang 2024-06-03 317 size_t len) 2656e1ce783a90 Eric Huang 2024-06-03 318 { 2656e1ce783a90 Eric Huang 2024-06-03 319 if (!buf || !len) 2656e1ce783a90 Eric Huang 2024-06-03 320 return; 2656e1ce783a90 Eric Huang 2024-06-03 321 2656e1ce783a90 Eric Huang 2024-06-03 322 switch (rst_ctxt->src) { 2656e1ce783a90 Eric Huang 2024-06-03 323 case AMDGPU_RESET_SRC_JOB: 2656e1ce783a90 Eric Huang 2024-06-03 324 if (rst_ctxt->job) { 7bed1df814cd61 Eric Huang 2024-06-06 325 snprintf(buf, len, "job hang on ring:%s", 7bed1df814cd61 Eric Huang 2024-06-06 326 rst_ctxt->job->base.sched->name); 2656e1ce783a90 Eric Huang 2024-06-03 327 } else { 2656e1ce783a90 Eric Huang 2024-06-03 328 strscpy(buf, "job hang", len); 2656e1ce783a90 Eric Huang 2024-06-03 329 } 2656e1ce783a90 Eric Huang 2024-06-03 330 break; 2656e1ce783a90 Eric Huang 2024-06-03 331 case AMDGPU_RESET_SRC_RAS: 2656e1ce783a90 Eric Huang 2024-06-03 332 strscpy(buf, "RAS error", len); 2656e1ce783a90 Eric Huang 2024-06-03 333 break; 2656e1ce783a90 Eric Huang 2024-06-03 334 case AMDGPU_RESET_SRC_MES: 2656e1ce783a90 Eric Huang 2024-06-03 335 strscpy(buf, "MES hang", len); 2656e1ce783a90 Eric Huang 2024-06-03 336 break; 2656e1ce783a90 Eric Huang 2024-06-03 337 case AMDGPU_RESET_SRC_HWS: 2656e1ce783a90 Eric Huang 2024-06-03 338 strscpy(buf, "HWS hang", len); 2656e1ce783a90 Eric Huang 2024-06-03 339 break; 2656e1ce783a90 Eric Huang 2024-06-03 340 case AMDGPU_RESET_SRC_USER: 2656e1ce783a90 Eric Huang 2024-06-03 341 strscpy(buf, "user trigger", len); 2656e1ce783a90 Eric Huang 2024-06-03 342 break; c5da9e9c023893 Alex Deucher 2025-04-16 343 case AMDGPU_RESET_SRC_USERQ: c5da9e9c023893 Alex Deucher 2025-04-16 344 strscpy(buf, "user queue trigger", len); c5da9e9c023893 Alex Deucher 2025-04-16 345 break; 7136aabf196b0a Hamza Mahfooz 2026-01-22 346 case AMDGPU_RESET_SRC_DISPLAY: 7136aabf196b0a Hamza Mahfooz 2026-01-22 347 strscpy(buf, "display hang", len); 2656e1ce783a90 Eric Huang 2024-06-03 @348 default: 2656e1ce783a90 Eric Huang 2024-06-03 349 strscpy(buf, "unknown", len); 2656e1ce783a90 Eric Huang 2024-06-03 350 } 2656e1ce783a90 Eric Huang 2024-06-03 351 } a86e0c0e94373a Lijo Lazar 2024-11-15 352 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
