]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/i915/scatterlist: fix kernel-doc
authorJani Nikula <jani.nikula@intel.com>
Tue, 2 May 2023 15:37:39 +0000 (18:37 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 5 May 2023 08:28:43 +0000 (11:28 +0300)
Can't document function pointer members as if they are functions.

drivers/gpu/drm/i915/i915_scatterlist.h:160: warning: Incorrect use of kernel-doc format:          * release() - Free the memory of the struct i915_refct_sgt

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

index 12c1fd63e9b8d6174c1a031240b91d2bade70192..5a10c1a311831c2130cfe960760d2cd26c65366d 100644 (file)
@@ -157,8 +157,7 @@ bool i915_sg_trim(struct sg_table *orig_st);
  */
 struct i915_refct_sgt_ops {
        /**
-        * release() - Free the memory of the struct i915_refct_sgt
-        * @ref: struct kref that is embedded in the struct i915_refct_sgt
+        * @release: Free the memory of the struct i915_refct_sgt
         */
        void (*release)(struct kref *ref);
 };