From: kernel test robot <lkp@intel.com>
To: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
"Alex Deucher" <alexander.deucher@amd.com>,
"Christian König " <christian.koenig@amd.com>
Subject: drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c:214:2-3: Unneeded semicolon
Date: Sat, 19 Sep 2026 14:20:35 +0200 [thread overview]
Message-ID: <202609191434.7ig2fg4E-lkp@intel.com> (raw)
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
reply other threads:[~2026-09-19 12:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202609191434.7ig2fg4E-lkp@intel.com \
--to=lkp@intel.com \
--cc=alexander.deucher@amd.com \
--cc=christian.koenig@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=tvrtko.ursulin@igalia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®