Commit e68cefd1 authored by Lee Jones's avatar Lee Jones Committed by Zack Rusin

drm/vmwgfx/vmwgfx_drv: Fix some kernel-doc misdemeanours

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:164: warning: Function parameter or member 'ioctl' not described in 'VMW_IOCTL_DEF'
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:164: warning: Function parameter or member 'func' not described in 'VMW_IOCTL_DEF'
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:164: warning: Function parameter or member 'flags' not described in 'VMW_IOCTL_DEF'
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:170: warning: cannot understand function prototype: 'const struct drm_ioctl_desc vmw_ioctls[] = '
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:542: warning: Function parameter or member 'dev_priv' not described in 'vmw_get_initial_size'
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:611: warning: Function parameter or member 'dev_priv' not described in 'vmw_dma_masks'
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:611: warning: Excess function parameter 'dev' description in 'vmw_dma_masks'

Cc: VMware Graphics <linux-graphics-maintainer@vmware.com>
Cc: Roland Scheidegger <sroland@vmware.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarZack Rusin <zackr@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210115181313.3431493-9-lee.jones@linaro.org
parent d8713d66
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
DRM_IOWR(DRM_COMMAND_BASE + DRM_VMW_MSG, \ DRM_IOWR(DRM_COMMAND_BASE + DRM_VMW_MSG, \
struct drm_vmw_msg_arg) struct drm_vmw_msg_arg)
/** /*
* The core DRM version of this macro doesn't account for * The core DRM version of this macro doesn't account for
* DRM_COMMAND_BASE. * DRM_COMMAND_BASE.
*/ */
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
#define VMW_IOCTL_DEF(ioctl, func, flags) \ #define VMW_IOCTL_DEF(ioctl, func, flags) \
[DRM_IOCTL_NR(DRM_IOCTL_##ioctl) - DRM_COMMAND_BASE] = {DRM_IOCTL_##ioctl, flags, func} [DRM_IOCTL_NR(DRM_IOCTL_##ioctl) - DRM_COMMAND_BASE] = {DRM_IOCTL_##ioctl, flags, func}
/** /*
* Ioctl definitions. * Ioctl definitions.
*/ */
...@@ -526,7 +526,7 @@ static void vmw_release_device_late(struct vmw_private *dev_priv) ...@@ -526,7 +526,7 @@ static void vmw_release_device_late(struct vmw_private *dev_priv)
vmw_fifo_release(dev_priv, &dev_priv->fifo); vmw_fifo_release(dev_priv, &dev_priv->fifo);
} }
/** /*
* Sets the initial_[width|height] fields on the given vmw_private. * Sets the initial_[width|height] fields on the given vmw_private.
* *
* It does so by reading SVGA_REG_[WIDTH|HEIGHT] regs and then * It does so by reading SVGA_REG_[WIDTH|HEIGHT] regs and then
...@@ -599,7 +599,7 @@ static int vmw_dma_select_mode(struct vmw_private *dev_priv) ...@@ -599,7 +599,7 @@ static int vmw_dma_select_mode(struct vmw_private *dev_priv)
/** /**
* vmw_dma_masks - set required page- and dma masks * vmw_dma_masks - set required page- and dma masks
* *
* @dev: Pointer to struct drm-device * @dev_priv: Pointer to struct drm-device
* *
* With 32-bit we can only handle 32 bit PFNs. Optionally set that * With 32-bit we can only handle 32 bit PFNs. Optionally set that
* restriction also for 64-bit systems. * restriction also for 64-bit systems.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment