2024-03-17 18:00:46

by kernel test robot

[permalink] [raw]
Subject: drivers/gpu/drm/xe/xe_irq.c:279:3-4: Unneeded semicolon

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 741e9d668aa50c91e4f681511ce0e408d55dd7ce
commit: eb08104f90fc474054211244d668d3fe1d84bccb drm/xe/gsc: add support for GSC proxy interrupt
date: 8 weeks ago
config: alpha-randconfig-r054-20240317 (https://download.01.org/0day-ci/archive/20240318/[email protected]/config)
compiler: alpha-linux-gcc (GCC) 13.2.0

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]/

cocci warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/xe/xe_irq.c:279:3-4: Unneeded semicolon

vim +279 drivers/gpu/drm/xe/xe_irq.c

257
258 static struct xe_gt *pick_engine_gt(struct xe_tile *tile,
259 enum xe_engine_class class,
260 unsigned int instance)
261 {
262 struct xe_device *xe = tile_to_xe(tile);
263
264 if (MEDIA_VER(xe) < 13)
265 return tile->primary_gt;
266
267 switch (class) {
268 case XE_ENGINE_CLASS_VIDEO_DECODE:
269 case XE_ENGINE_CLASS_VIDEO_ENHANCE:
270 return tile->media_gt;
271 case XE_ENGINE_CLASS_OTHER:
272 switch (instance) {
273 case OTHER_MEDIA_GUC_INSTANCE:
274 case OTHER_GSC_INSTANCE:
275 case OTHER_GSC_HECI2_INSTANCE:
276 return tile->media_gt;
277 default:
278 break;
> 279 };
280 fallthrough;
281 default:
282 return tile->primary_gt;
283 }
284 }
285

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