drivers/gpu/drm/xe/xe_rtp.c:151:2-3: Unneeded semicolon
From: kernel test robot
Date: Thu Jan 25 2024 - 22:04:40 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ecb1b8288dc7ccbdcb3b9df005fa1c0e0c0388a7
commit: 72906d340b60f3dae545deef77376a0f598bece7 drm/xe/rtp: Split rtp process initialization
date: 5 weeks ago
config: powerpc64-randconfig-r052-20240125 (https://download.01.org/0day-ci/archive/20240126/202401261029.Ed0Wh8zS-lkp@xxxxxxxxx/config)
compiler: powerpc64-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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401261029.Ed0Wh8zS-lkp@xxxxxxxxx/
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
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki