public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* drivers/gpu/drm/xe/xe_irq.c:279:3-4: Unneeded semicolon
@ 2024-03-17 18:00 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-17 18:00 UTC (permalink / raw)
  To: Daniele Ceraolo Spurio; +Cc: oe-kbuild-all, linux-kernel, Alan Previn

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/202403180145.fkaEWVrN-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403180145.fkaEWVrN-lkp@intel.com/

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-17 18:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-17 18:00 drivers/gpu/drm/xe/xe_irq.c:279:3-4: Unneeded semicolon kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox