diff options
author | Jani Nikula <jani.nikula@intel.com> | 2023-05-02 17:37:39 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2023-05-05 10:28:43 +0200 |
commit | 9d7fe94d35522115734b3c2c37cad3257c88c43b (patch) | |
tree | 5d554f3a9aebe4f1ccb3bb3c24b416167b628cf2 /drivers/gpu/drm/i915 | |
parent | drm/i915/gem: fix function pointer member kernel-doc (diff) | |
download | linux-9d7fe94d35522115734b3c2c37cad3257c88c43b.tar.xz linux-9d7fe94d35522115734b3c2c37cad3257c88c43b.zip |
drm/i915/scatterlist: fix kernel-doc
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
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r-- | drivers/gpu/drm/i915/i915_scatterlist.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_scatterlist.h b/drivers/gpu/drm/i915/i915_scatterlist.h index 12c1fd63e9b8..5a10c1a31183 100644 --- a/drivers/gpu/drm/i915/i915_scatterlist.h +++ b/drivers/gpu/drm/i915/i915_scatterlist.h @@ -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); }; |