[Intel-gfx] [drm-intel:topic/drm-misc 25/25] htmldocs: drivers/gpu/drm/drm_prime.c:298: warning: No description found for parameter 'dev'

kbuild test robot fengguang.wu at intel.com
Wed Oct 5 17:14:57 UTC 2016


tree:   git://anongit.freedesktop.org/drm-intel topic/drm-misc
head:   a4fce9cb782ad340ee5576a38e934e5e75832dc6
commit: a4fce9cb782ad340ee5576a38e934e5e75832dc6 [25/25] drm/prime: Take a ref on the drm_dev when exporting a dma_buf
reproduce: make htmldocs

All warnings (new ones prefixed by >>):

   include/drm/drm_fb_helper.h:222: warning: Cannot understand  * @DRM_FB_HELPER_DEFAULT_OPS:
    on line 222 - I thought it was a doc line
>> drivers/gpu/drm/drm_prime.c:298: warning: No description found for parameter 'dev'
>> drivers/gpu/drm/drm_prime.c:298: warning: No description found for parameter 'exp_info'
>> drivers/gpu/drm/drm_prime.c:298: warning: Excess function parameter 'dma_buf' description in 'drm_gem_dmabuf_export'
   drivers/gpu/drm/drm_prime.c:299: warning: No description found for parameter 'dev'
   drivers/gpu/drm/drm_prime.c:299: warning: No description found for parameter 'exp_info'
   drivers/gpu/drm/drm_prime.c:299: warning: Excess function parameter 'dma_buf' description in 'drm_gem_dmabuf_export'

vim +/dev +298 drivers/gpu/drm/drm_prime.c

   282	{
   283		/* nothing to be done here */
   284	}
   285	
   286	/**
   287	 * drm_gem_dmabuf_export - dma_buf export implementation for GEM
   288	 * @dma_buf: buffer to be exported
   289	 *
   290	 * This wraps dma_buf_export() for use by generic GEM drivers that are using
   291	 * drm_gem_dmabuf_release(). In addition to calling dma_buf_export(), we take
   292	 * a reference to the drm_device which is released by drm_gem_dmabuf_release().
   293	 *
   294	 * Returns the new dmabuf.
   295	 */
   296	struct dma_buf *drm_gem_dmabuf_export(struct drm_device *dev,
   297					      struct dma_buf_export_info *exp_info)
 > 298	{
   299		struct dma_buf *dma_buf;
   300	
   301		dma_buf = dma_buf_export(exp_info);
   302		if (!IS_ERR(dma_buf))
   303			drm_dev_ref(dev);
   304	
   305		return dma_buf;
   306	}

---
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: 6406 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20161006/8b405779/attachment-0001.gz>


More information about the Intel-gfx mailing list