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

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

 



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

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