[Intel-gfx] [drm-intel:topic/drm-misc 35/37] drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c:143:21: error: unused variable 'dev'
kbuild test robot
fengguang.wu at intel.com
Thu Oct 15 06:41:06 PDT 2015
tree: git://anongit.freedesktop.org/drm-intel topic/drm-misc
head: 1032f72564813b1dd00184897d8291ad71676a56
commit: 9da239e3b9538cd5dd883d8258a7c3e2e0499e13 [35/37] drm/gem: Drop struct_mutex requirement from drm_gem_mmap_obj
config: arm-allmodconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 9da239e3b9538cd5dd883d8258a7c3e2e0499e13
# save the attached .config to linux build tree
make.cross ARCH=arm
All error/warnings (new ones prefixed by >>):
drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c: In function 'omap_gem_dmabuf_mmap':
>> drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c:143:21: error: unused variable 'dev' [-Werror=unused-variable]
struct drm_device *dev = obj->dev;
^
cc1: all warnings being treated as errors
--
drivers/gpu/drm/rockchip/rockchip_drm_gem.c: In function 'rockchip_gem_mmap_buf':
>> drivers/gpu/drm/rockchip/rockchip_drm_gem.c:82:21: warning: unused variable 'drm' [-Wunused-variable]
struct drm_device *drm = obj->dev;
^
vim +/dev +143 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c
6ad11bc3 drivers/staging/omapdrm/omap_gem_dmabuf.c Rob Clark 2012-04-10 137 }
6ad11bc3 drivers/staging/omapdrm/omap_gem_dmabuf.c Rob Clark 2012-04-10 138
8b6b569e drivers/staging/omapdrm/omap_gem_dmabuf.c Rob Clark 2012-05-17 139 static int omap_gem_dmabuf_mmap(struct dma_buf *buffer,
8b6b569e drivers/staging/omapdrm/omap_gem_dmabuf.c Rob Clark 2012-05-17 140 struct vm_area_struct *vma)
8b6b569e drivers/staging/omapdrm/omap_gem_dmabuf.c Rob Clark 2012-05-17 141 {
8b6b569e drivers/staging/omapdrm/omap_gem_dmabuf.c Rob Clark 2012-05-17 142 struct drm_gem_object *obj = buffer->priv;
4368dd84 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c YoungJun Cho 2013-06-27 @143 struct drm_device *dev = obj->dev;
8b6b569e drivers/staging/omapdrm/omap_gem_dmabuf.c Rob Clark 2012-05-17 144 int ret = 0;
8b6b569e drivers/staging/omapdrm/omap_gem_dmabuf.c Rob Clark 2012-05-17 145
8b6b569e drivers/staging/omapdrm/omap_gem_dmabuf.c Rob Clark 2012-05-17 146 if (WARN_ON(!obj->filp))
:::::: The code at line 143 was first introduced by commit
:::::: 4368dd846d067ed7d11281050e7676ae614d6053 drm/gem: add mutex lock when using drm_gem_mmap_obj
:::::: TO: YoungJun Cho <yj44.cho at samsung.com>
:::::: CC: Dave Airlie <airlied at redhat.com>
---
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/octet-stream
Size: 53719 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20151015/1cd431ab/attachment-0001.obj>
More information about the Intel-gfx
mailing list