Hi Matt,

kernel test robot noticed the following build errors:

[auto build test ERROR on 55473b60178060a4fdb4631bd0c91879cc7d18d8]

url:    
https://github.com/intel-lab-lkp/linux/commits/Matt-Coster/drm-imagination-Define-packed-BVNCs-in-the-uapi/20260206-175844
base:   55473b60178060a4fdb4631bd0c91879cc7d18d8
patch link:    
https://lore.kernel.org/r/20260206-bvnc-cleanup-v1-1-f3c818541fbe%40imgtec.com
patch subject: [PATCH 1/2] drm/imagination: Define packed BVNCs in the uapi
config: riscv-randconfig-r112-20260206 
(https://download.01.org/0day-ci/archive/20260207/[email protected]/config)
compiler: riscv64-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20260207/[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 errors (new ones prefixed by >>):

   drivers/gpu/drm/imagination/pvr_device.c: In function 
'pvr_gpu_support_level':
>> drivers/gpu/drm/imagination/pvr_device.c:550:2: error: case label does not 
>> reduce to an integer constant
     550 |  case PVR_PACKED_BVNC(33, 15, 11, 3):
         |  ^~~~
   drivers/gpu/drm/imagination/pvr_device.c:551:2: error: case label does not 
reduce to an integer constant
     551 |  case PVR_PACKED_BVNC(36, 53, 104, 796):
         |  ^~~~
   drivers/gpu/drm/imagination/pvr_device.c:554:2: error: case label does not 
reduce to an integer constant
     554 |  case PVR_PACKED_BVNC(36, 52, 104, 182):
         |  ^~~~


vim +550 drivers/gpu/drm/imagination/pvr_device.c

1c21f240fbc1e4 Matt Coster 2026-01-13  545  
1c21f240fbc1e4 Matt Coster 2026-01-13  546  static enum pvr_gpu_support_level
1c21f240fbc1e4 Matt Coster 2026-01-13  547  pvr_gpu_support_level(const struct 
pvr_gpu_id *gpu_id)
1c21f240fbc1e4 Matt Coster 2026-01-13  548  {
1c21f240fbc1e4 Matt Coster 2026-01-13  549      switch 
(pvr_gpu_id_to_packed_bvnc(gpu_id)) {
1c21f240fbc1e4 Matt Coster 2026-01-13 @550      case PVR_PACKED_BVNC(33, 15, 
11, 3):
1c21f240fbc1e4 Matt Coster 2026-01-13  551      case PVR_PACKED_BVNC(36, 53, 
104, 796):
1c21f240fbc1e4 Matt Coster 2026-01-13  552              return 
PVR_GPU_SUPPORTED;
1c21f240fbc1e4 Matt Coster 2026-01-13  553  
1c21f240fbc1e4 Matt Coster 2026-01-13  554      case PVR_PACKED_BVNC(36, 52, 
104, 182):
1c21f240fbc1e4 Matt Coster 2026-01-13  555              return 
PVR_GPU_EXPERIMENTAL;
1c21f240fbc1e4 Matt Coster 2026-01-13  556  
1c21f240fbc1e4 Matt Coster 2026-01-13  557      default:
1c21f240fbc1e4 Matt Coster 2026-01-13  558              return PVR_GPU_UNKNOWN;
1c21f240fbc1e4 Matt Coster 2026-01-13  559      }
1c21f240fbc1e4 Matt Coster 2026-01-13  560  }
1c21f240fbc1e4 Matt Coster 2026-01-13  561  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Reply via email to