RE: [PATCH 2/4] drm/xe/vm: Fix a misplaced #endif

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Intel-xe <intel-xe-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of Thomas
> Hellström
> Sent: Wednesday, February 26, 2025 9:04 PM
> To: intel-xe@xxxxxxxxxxxxxxxxxxxxx
> Cc: Thomas Hellström <thomas.hellstrom@xxxxxxxxxxxxxxx>; Maarten
> Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx>; Souza, Jose
> <jose.souza@xxxxxxxxx>; stable@xxxxxxxxxxxxxxx
> Subject: [PATCH 2/4] drm/xe/vm: Fix a misplaced #endif
> 
> Fix a (harmless) misplaced #endif leading to declarations appearing multiple
> times.
> 
> Fixes: 0eb2a18a8fad ("drm/xe: Implement VM snapshot support for BO's and
> userptr")
> Cc: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx>
> Cc: José Roberto de Souza <jose.souza@xxxxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx> # v6.9+
> Signed-off-by: Thomas Hellström <thomas.hellstrom@xxxxxxxxxxxxxxx>
> ---
>  drivers/gpu/drm/xe/xe_vm.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_vm.h b/drivers/gpu/drm/xe/xe_vm.h index
> f66075f8a6fe..7c8e39049223 100644
> --- a/drivers/gpu/drm/xe/xe_vm.h
> +++ b/drivers/gpu/drm/xe/xe_vm.h
> @@ -282,9 +282,9 @@ static inline void vm_dbg(const struct drm_device
> *dev,
>  			  const char *format, ...)
>  { /* noop */ }
>  #endif
> -#endif
> 
>  struct xe_vm_snapshot *xe_vm_snapshot_capture(struct xe_vm *vm);  void
> xe_vm_snapshot_capture_delayed(struct xe_vm_snapshot *snap);  void
> xe_vm_snapshot_print(struct xe_vm_snapshot *snap, struct drm_printer *p);
> void xe_vm_snapshot_free(struct xe_vm_snapshot *snap);
> +#endif

LGTM,
Reviewed-by: Tejas Upadhyay <tejas.upadhyay@xxxxxxxxx>

Tejas
> --
> 2.48.1





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux