[PATCH] drm/xe/guc: Fix include guard for SR-IOV ABI

Rodrigo Vivi rodrigo.vivi at intel.com
Tue Feb 13 22:21:46 UTC 2024


On Tue, Feb 13, 2024 at 10:49:08PM +0100, Michal Wajdeczko wrote:
> Use include guard macro name that follows naming used by the other
> GuC ABI files.
> 
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>

hmmm, I believe the ABI prefix should be avoided, but anyway
you are right. this is how the rest of the headers there are,
so,

Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>

> ---
>  drivers/gpu/drm/xe/abi/guc_actions_sriov_abi.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/abi/guc_actions_sriov_abi.h b/drivers/gpu/drm/xe/abi/guc_actions_sriov_abi.h
> index 5496a5890847..fe7a93ce3aa5 100644
> --- a/drivers/gpu/drm/xe/abi/guc_actions_sriov_abi.h
> +++ b/drivers/gpu/drm/xe/abi/guc_actions_sriov_abi.h
> @@ -3,8 +3,8 @@
>   * Copyright © 2023 Intel Corporation
>   */
>  
> -#ifndef _GUC_ACTIONS_PF_ABI_H
> -#define _GUC_ACTIONS_PF_ABI_H
> +#ifndef _ABI_GUC_ACTIONS_SRIOV_ABI_H
> +#define _ABI_GUC_ACTIONS_SRIOV_ABI_H
>  
>  #include "guc_communication_ctb_abi.h"
>  
> -- 
> 2.43.0
> 


More information about the Intel-xe mailing list