[PATCH 1/8] drm/omap: use refcount API to track the number of users of dma_addr

kbuild test robot lkp at intel.com
Fri Jul 5 02:07:49 UTC 2019


Hi Jean-Jacques,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.2-rc7 next-20190704]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Jean-Jacques-Hiblot/drm-omap-use-refcount-API-to-track-the-number-of-users-of-dma_addr/20190705-074858
config: arm-omap2plus_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   drivers/gpu/drm/omapdrm/omap_gem.c:863:15: error: expected declaration specifiers or '...' before '&' token
     mutex_unlock(&omap_obj->lock);
                  ^
>> drivers/gpu/drm/omapdrm/omap_gem.c:864:1: error: expected identifier or '(' before '}' token
    }
    ^

vim +864 drivers/gpu/drm/omapdrm/omap_gem.c

393a949f5 drivers/gpu/drm/omapdrm/omap_gem.c Tomi Valkeinen   2015-04-28  862  
3cbd0c587 drivers/gpu/drm/omapdrm/omap_gem.c Laurent Pinchart 2018-05-26 @863  	mutex_unlock(&omap_obj->lock);
cd5351f4d drivers/staging/omapdrm/omap_gem.c Rob Clark        2011-11-12 @864  }
cd5351f4d drivers/staging/omapdrm/omap_gem.c Rob Clark        2011-11-12  865  

:::::: The code at line 864 was first introduced by commit
:::::: cd5351f4d2b1b884d8c21a7636d5c0ea3b69d123 staging: add omapdrm DRM/KMS driver for TI OMAP platforms

:::::: TO: Rob Clark <rob at ti.com>
:::::: CC: Greg Kroah-Hartman <gregkh at suse.de>

---
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: 36408 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190705/e8569d6d/attachment-0001.gz>


More information about the dri-devel mailing list