drm/i915/gem: fix function pointer member kernel-doc
authorJani Nikula <jani.nikula@intel.com>
Tue, 2 May 2023 15:37:27 +0000 (18:37 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 5 May 2023 08:28:33 +0000 (11:28 +0300)
You can't document function pointer member as functions.

drivers/gpu/drm/i915/gem/i915_gem_region.h:25: warning: Incorrect use of kernel-doc format:          * process_obj - Process the current object
drivers/gpu/drm/i915/gem/i915_gem_region.h:35: warning: Function parameter or member 'process_obj' not described in 'i915_gem_apply_to_region_ops'

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/a2a81f9ee78591def0534c81a63dbc652c44bbd3.1683041799.git.jani.nikula@intel.com
drivers/gpu/drm/i915/gem/i915_gem_region.h

index 2dfcc41c0170c55fa9d3e6134663f7902c671a5a..8a7650b27cc2ec61e27dfe8cfcbf1afcb23c4706 100644 (file)
@@ -22,9 +22,7 @@ struct i915_gem_apply_to_region;
  */
 struct i915_gem_apply_to_region_ops {
        /**
-        * process_obj - Process the current object
-        * @apply: Embed this for private data.
-        * @obj: The current object.
+        * @process_obj: Process the current object
         *
         * Note that if this function is part of a ww transaction, and
         * if returns -EDEADLK for one of the objects, it may be