[drm:amdgpu-semaphores 1/1] drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c:694: warning: unused variable 'sem'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux