[PATCH v3 1/3] drm/xe/configfs: Drop trailing semicolons

Matt Roper matthew.d.roper at intel.com
Fri May 23 20:52:52 UTC 2025


On Fri, May 23, 2025 at 10:42:31AM -0700, Lucas De Marchi wrote:
> Drop the semicolons from the dummy implementation: they shouldn't be
> there.
> 
> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>

Reviewed-by: Matt Roper <matthew.d.roper at intel.com>

> ---
>  drivers/gpu/drm/xe/xe_configfs.h | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_configfs.h b/drivers/gpu/drm/xe/xe_configfs.h
> index d7d041ec26117..ef6d231b3024b 100644
> --- a/drivers/gpu/drm/xe/xe_configfs.h
> +++ b/drivers/gpu/drm/xe/xe_configfs.h
> @@ -15,10 +15,10 @@ void xe_configfs_exit(void);
>  bool xe_configfs_get_survivability_mode(struct pci_dev *pdev);
>  void xe_configfs_clear_survivability_mode(struct pci_dev *pdev);
>  #else
> -static inline int xe_configfs_init(void) { return 0; };
> -static inline void xe_configfs_exit(void) {};
> -static inline bool xe_configfs_get_survivability_mode(struct pci_dev *pdev) { return false; };
> -static inline void xe_configfs_clear_survivability_mode(struct pci_dev *pdev) {};
> +static inline int xe_configfs_init(void) { return 0; }
> +static inline void xe_configfs_exit(void) { }
> +static inline bool xe_configfs_get_survivability_mode(struct pci_dev *pdev) { return false; }
> +static inline void xe_configfs_clear_survivability_mode(struct pci_dev *pdev) { }
>  #endif
>  
>  #endif
> 
> -- 
> 2.49.0
> 

-- 
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation


More information about the Intel-xe mailing list