Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/i915/gem: fix function pointer member kernel-doc

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

+1 -3
+1 -3
drivers/gpu/drm/i915/gem/i915_gem_region.h
··· 22 22 */ 23 23 struct i915_gem_apply_to_region_ops { 24 24 /** 25 - * process_obj - Process the current object 26 - * @apply: Embed this for private data. 27 - * @obj: The current object. 25 + * @process_obj: Process the current object 28 26 * 29 27 * Note that if this function is part of a ww transaction, and 30 28 * if returns -EDEADLK for one of the objects, it may be