* drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c:214:2-3: Unneeded semicolon
@ 2026-09-19 12:20 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-19 12:20 UTC (permalink / raw)
To: Tvrtko Ursulin
Cc: oe-kbuild-all, linux-kernel, Alex Deucher, Christian König
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 40288c9206c17eb66a603262e06a58d300d0f279
commit: 0131a305886fa083e8be7b33eb22c5e25cd30472 drm/amdgpu: Remove output parameter in bo list handling
date: 3 months ago
config: x86_64-randconfig-103-20260911 (https://download.01.org/0day-ci/archive/20260919/202609191434.7ig2fg4E-lkp@intel.com/config)
compiler: gcc-13 (Debian 13.3.0-16) 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
| Fixes: 0131a305886f ("drm/amdgpu: Remove output parameter in bo list handling")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609191434.7ig2fg4E-lkp@intel.com/
cocci warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c:214:2-3: Unneeded semicolon
vim +214 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c
178
179 int amdgpu_bo_list_ioctl(struct drm_device *dev, void *data,
180 struct drm_file *filp)
181 {
182 struct amdgpu_fpriv *fpriv = filp->driver_priv;
183 struct amdgpu_device *adev = drm_to_adev(dev);
184 struct amdgpu_bo_list *list, *prev, *curr;
185 union drm_amdgpu_bo_list *args = data;
186 uint32_t handle = args->in.list_handle;
187 struct drm_amdgpu_bo_list_entry *info;
188 int r;
189
190 switch (args->in.operation) {
191 case AMDGPU_BO_LIST_OP_CREATE:
192 case AMDGPU_BO_LIST_OP_UPDATE:
193 info = amdgpu_bo_create_list_entry_array(&args->in);
194 if (IS_ERR(info))
195 return PTR_ERR(info);
196
197 list = amdgpu_bo_list_create(adev, filp, info,
198 args->in.bo_number);
199 kvfree(info);
200 if (IS_ERR(list))
201 return PTR_ERR(list);
202
203 break;
204
205 case AMDGPU_BO_LIST_OP_DESTROY:
206 list = xa_erase(&fpriv->bo_list_handles, handle);
207 amdgpu_bo_list_put(list);
208 handle = 0;
209
210 break;
211
212 default:
213 return -EINVAL;
> 214 };
--
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:[~2026-09-19 12:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-19 12:20 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c:214:2-3: Unneeded semicolon kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.