drm/i915: Fix warnings while make xmldocs caused by intel_lrc.c
authorMasanari Iida <standby24x7@gmail.com>
Sun, 13 Sep 2015 12:08:31 +0000 (21:08 +0900)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 14 Sep 2015 12:28:40 +0000 (14:28 +0200)
This patch fix following warnings while "make xmldocs".
.//drivers/gpu/drm/i915/intel_lrc.c:780: warning: No description
found for parameter 'req'
.//drivers/gpu/drm/i915/intel_lrc.c:780: warning: Excess function
 parameter 'request' description in 'intel_logical_ring_begin'
.//drivers/gpu/drm/i915/intel_lrc.c:780: warning: Excess function
 parameter 'ctx' description in 'intel_logical_ring_begin'

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lrc.c

index 0a53c96c4d86ee96a4c7ab2058bf1dfcaf7d7de2..fe06accb0797f01c1ac689a48aa573dc13eb1540 100644 (file)
@@ -802,8 +802,7 @@ static int logical_ring_prepare(struct drm_i915_gem_request *req, int bytes)
 /**
  * intel_logical_ring_begin() - prepare the logical ringbuffer to accept some commands
  *
- * @request: The request to start some new work for
- * @ctx: Logical ring context whose ringbuffer is being prepared.
+ * @req: The request to start some new work for
  * @num_dwords: number of DWORDs that we plan to write to the ringbuffer.
  *
  * The ringbuffer might not be ready to accept the commands right away (maybe it needs to