[Intel-gfx] [PATCH 2/2] drm/i915/wakeref: fix kernel-doc comment

Govindapillai, Vinod vinod.govindapillai at intel.com
Wed Apr 5 11:32:32 UTC 2023


On Wed, 2023-04-05 at 13:41 +0300, Jani Nikula wrote:
> Fix the warning:
> 
> drivers/gpu/drm/i915/intel_wakeref.h:118: warning: expecting prototype
> for intel_wakeref_get_if_in_use(). Prototype was for
> intel_wakeref_get_if_active() instead
> 
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
> ---

Thanks

Reviewed-by: Vinod Govindapillai <vinod.govindapillai at intel.com>

>  drivers/gpu/drm/i915/intel_wakeref.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_wakeref.h b/drivers/gpu/drm/i915/intel_wakeref.h
> index 71b8a63f6f10..0b6b4852ab23 100644
> --- a/drivers/gpu/drm/i915/intel_wakeref.h
> +++ b/drivers/gpu/drm/i915/intel_wakeref.h
> @@ -105,7 +105,7 @@ __intel_wakeref_get(struct intel_wakeref *wf)
>  }
>  
>  /**
> - * intel_wakeref_get_if_in_use: Acquire the wakeref
> + * intel_wakeref_get_if_active: Acquire the wakeref
>   * @wf: the wakeref
>   *
>   * Acquire a hold on the wakeref, but only if the wakeref is already



More information about the Intel-gfx mailing list