[drm:amdgpu-semaphores 1/1] drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c:694: warning: unused variable 'sem'
kbuild test robot
fengguang.wu at intel.com
Wed Mar 8 06:34:06 UTC 2017
tree: git://people.freedesktop.org/~airlied/linux.git amdgpu-semaphores
head: daeb3d1adb4451fd27beb4dbded9d6477227225b
commit: daeb3d1adb4451fd27beb4dbded9d6477227225b [1/1] drm/amdgpu: add semaphores
config: x86_64-randconfig-a0-03081402 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
git checkout daeb3d1adb4451fd27beb4dbded9d6477227225b
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c: In function 'amdgpu_driver_postclose_kms':
>> drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c:694: warning: unused variable 'sem'
vim +/sem +694 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
678 }
679
680 /**
681 * amdgpu_driver_postclose_kms - drm callback for post close
682 *
683 * @dev: drm dev pointer
684 * @file_priv: drm file
685 *
686 * On device post close, tear down vm on cayman+ (all asics).
687 */
688 void amdgpu_driver_postclose_kms(struct drm_device *dev,
689 struct drm_file *file_priv)
690 {
691 struct amdgpu_device *adev = dev->dev_private;
692 struct amdgpu_fpriv *fpriv = file_priv->driver_priv;
693 struct amdgpu_bo_list *list;
> 694 struct amdgpu_sem *sem;
695 int handle;
696
697 if (!fpriv)
698 return;
699
700 amdgpu_ctx_mgr_fini(&fpriv->ctx_mgr);
701
702 amdgpu_uvd_free_handles(adev, file_priv);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 23157 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170308/317f1c78/attachment-0001.gz>
More information about the dri-devel
mailing list