]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915: kerneldoc warnings squelched
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 12 Jun 2019 15:13:11 +0000 (16:13 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 12 Jun 2019 15:28:41 +0000 (16:28 +0100)
drivers/gpu/drm/i915//gem/i915_gem_shrinker.c:142: warning: Function parameter or member 'shrink' not described in 'i915_gem_shrink'
drivers/gpu/drm/i915//gem/i915_gem_shrinker.c:142: warning: Excess function parameter 'flags' description in 'i915_gem_shrink'

drivers/gpu/drm/i915//intel_display.c:13443: warning: Function parameter or member '_state' not described in 'intel_atomic_check'
drivers/gpu/drm/i915//intel_display.c:13443: warning: Excess function parameter 'state' description in 'intel_atomic_check'

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190612151311.30295-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_shrinker.c
drivers/gpu/drm/i915/intel_display.c

index 1b93bc33463061a36fd06e90bc5bb13c707d849c..e15f37bef36a27b1d79178ad28c36673525e3741 100644 (file)
@@ -114,7 +114,7 @@ static void try_to_writeback(struct drm_i915_gem_object *obj,
  * @i915: i915 device
  * @target: amount of memory to make available, in pages
  * @nr_scanned: optional output for number of pages scanned (incremental)
- * @flags: control flags for selecting cache types
+ * @shrink: control flags for selecting cache types
  *
  * This function is the main interface to the shrinker. It will try to release
  * up to @target pages of main memory backing storage from buffer objects.
index 1b1ddb48ca7a4e16dae9dee20bdfe2db0d574c33..e681ed99cdf25aad9bc2b5b03330ed3c3812acb2 100644 (file)
@@ -13436,7 +13436,7 @@ static int calc_watermark_data(struct intel_atomic_state *state)
 /**
  * intel_atomic_check - validate state object
  * @dev: drm device
- * @state: state to validate
+ * @_state: state to validate
  */
 static int intel_atomic_check(struct drm_device *dev,
                              struct drm_atomic_state *_state)