Re: [PATCH] documentation/gpu/i915: fix docs build error after file rename

From: Daniel Vetter
Date: Mon Dec 04 2017 - 03:00:31 EST


On Sun, Dec 03, 2017 at 03:36:20PM -0800, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>
> Fix documentation build errors after intel_guc_loader.c was
> renamed to intel_guc_fw.c.
>
> Error: Cannot open file ../drivers/gpu/drm/i915/intel_guc_loader.c
> WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno -function GuC-specific firmware loader ../drivers/gpu/drm/i915/intel_guc_loader.c' failed with return code 1
> Error: Cannot open file ../drivers/gpu/drm/i915/intel_guc_loader.c
> Error: Cannot open file ../drivers/gpu/drm/i915/intel_guc_loader.c
> WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno -internal ../drivers/gpu/drm/i915/intel_guc_loader.c' failed with return code 2
>
> Fixes: e8668bbcb0f9 ("drm/i915/guc: Rename intel_guc_loader.c to
> intel_guc_fw.c")
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Cc: Michal Wajdeczko <michal.wajdeczko@xxxxxxxxx>

Applied, thanks.
-Daniel

> ---
> Documentation/gpu/i915.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> --- lnx-415-rc2.orig/Documentation/gpu/i915.rst
> +++ lnx-415-rc2/Documentation/gpu/i915.rst
> @@ -341,10 +341,10 @@ GuC
> GuC-specific firmware loader
> ----------------------------
>
> -.. kernel-doc:: drivers/gpu/drm/i915/intel_guc_loader.c
> +.. kernel-doc:: drivers/gpu/drm/i915/intel_guc_fw.c
> :doc: GuC-specific firmware loader
>
> -.. kernel-doc:: drivers/gpu/drm/i915/intel_guc_loader.c
> +.. kernel-doc:: drivers/gpu/drm/i915/intel_guc_fw.c
> :internal:
>
> GuC-based command submission
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-doc" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch