Skip to contentSkip to conversation

drivers/gpu/drm/xe/xe_rtp.c:151:2-3: Unneeded semicolon

DISCUSSION kernel test robot 1 participant 1 message Sep 15, 2024

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0babf683783ddca06551537c6781e413cfe8d27b
commit: 72906d340b60f3dae545deef77376a0f598bece7 drm/xe/rtp: Split rtp process initialization
date:   9 months ago
config: alpha-randconfig-r062-20240915 (https://download.01.org/0day-ci/archive/20240915/[email protected]/config)
compiler: alpha-linux-gcc (GCC) 13.3.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_rtp.c:151:2-3: Unneeded semicolon

vim +151 drivers/gpu/drm/xe/xe_rtp.c

134
135 static void rtp_get_context(struct xe_rtp_process_ctx *ctx,

   136				    struct xe_hw_engine **hwe,
   137				    struct xe_gt **gt,
   138				    struct xe_device **xe)
   139	{
   140		switch (ctx->type) {
   141		case XE_RTP_PROCESS_TYPE_GT:
   142			*hwe = NULL;
   143			*gt = ctx->gt;
   144			*xe = gt_to_xe(*gt);
   145			break;
   146		case XE_RTP_PROCESS_TYPE_ENGINE:
   147			*hwe = ctx->hwe;
   148			*gt = (*hwe)->gt;
   149			*xe = gt_to_xe(*gt);
   150			break;
 > 151		};

152 }
153

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