* [linux-next:master 11802/12015] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c:1254:25: error: unused variable 'svms'
@ 2021-09-06 22:50 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-06 22:50 UTC (permalink / raw)
To: Alex Deucher; +Cc: kbuild-all, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 2972 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 7800ca95d0ed11b492962dc3abc2181c9d5f7f82
commit: 670e71ded7495930883f17a604b1f3ad90bf1d2f [11802/12015] Merge remote-tracking branch 'amdgpu/drm-next'
config: x86_64-randconfig-a001-20210906 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=670e71ded7495930883f17a604b1f3ad90bf1d2f
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 670e71ded7495930883f17a604b1f3ad90bf1d2f
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c: In function 'kfd_ioctl_alloc_memory_of_gpu':
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c:1254:25: error: unused variable 'svms' [-Werror=unused-variable]
1254 | struct svm_range_list *svms = &p->svms;
| ^~~~
cc1: all warnings being treated as errors
vim +/svms +1254 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1246
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1247 static int kfd_ioctl_alloc_memory_of_gpu(struct file *filep,
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1248 struct kfd_process *p, void *data)
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1249 {
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1250 struct kfd_ioctl_alloc_memory_of_gpu_args *args = data;
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1251 struct kfd_process_device *pdd;
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1252 void *mem;
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1253 struct kfd_dev *dev;
4a4e5b957c8f91 Alex Sierra 2021-06-07 @1254 struct svm_range_list *svms = &p->svms;
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1255 int idr_handle;
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1256 long err;
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1257 uint64_t offset = args->mmap_offset;
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1258 uint32_t flags = args->flags;
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1259
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1260 if (args->size == 0)
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1261 return -EINVAL;
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1262
:::::: The code at line 1254 was first introduced by commit
:::::: 4a4e5b957c8f9132989df0fa8a864f47688159f1 drm/amdkfd: avoid conflicting address mappings
:::::: TO: Alex Sierra <alex.sierra@amd.com>
:::::: CC: Alex Deucher <alexander.deucher@amd.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 37463 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [linux-next:master 11802/12015] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c:1254:25: error: unused variable 'svms'
@ 2021-09-06 22:50 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-06 22:50 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3028 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 7800ca95d0ed11b492962dc3abc2181c9d5f7f82
commit: 670e71ded7495930883f17a604b1f3ad90bf1d2f [11802/12015] Merge remote-tracking branch 'amdgpu/drm-next'
config: x86_64-randconfig-a001-20210906 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=670e71ded7495930883f17a604b1f3ad90bf1d2f
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 670e71ded7495930883f17a604b1f3ad90bf1d2f
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c: In function 'kfd_ioctl_alloc_memory_of_gpu':
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c:1254:25: error: unused variable 'svms' [-Werror=unused-variable]
1254 | struct svm_range_list *svms = &p->svms;
| ^~~~
cc1: all warnings being treated as errors
vim +/svms +1254 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1246
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1247 static int kfd_ioctl_alloc_memory_of_gpu(struct file *filep,
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1248 struct kfd_process *p, void *data)
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1249 {
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1250 struct kfd_ioctl_alloc_memory_of_gpu_args *args = data;
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1251 struct kfd_process_device *pdd;
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1252 void *mem;
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1253 struct kfd_dev *dev;
4a4e5b957c8f91 Alex Sierra 2021-06-07 @1254 struct svm_range_list *svms = &p->svms;
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1255 int idr_handle;
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1256 long err;
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1257 uint64_t offset = args->mmap_offset;
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1258 uint32_t flags = args->flags;
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1259
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1260 if (args->size == 0)
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1261 return -EINVAL;
5ec7e02854b3b9 Felix Kuehling 2018-03-15 1262
:::::: The code at line 1254 was first introduced by commit
:::::: 4a4e5b957c8f9132989df0fa8a864f47688159f1 drm/amdkfd: avoid conflicting address mappings
:::::: TO: Alex Sierra <alex.sierra@amd.com>
:::::: CC: Alex Deucher <alexander.deucher@amd.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 37463 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-06 22:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-06 22:50 [linux-next:master 11802/12015] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c:1254:25: error: unused variable 'svms' kernel test robot
2021-09-06 22:50 ` 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.