Skip to content

Commit 1414d95

Browse files
Thomas Hellströmrodrigovivi
authored andcommitted
drm/xe/vm: Fix a misplaced #endif
Fix a (harmless) misplaced #endif leading to declarations appearing multiple times. Fixes: 0eb2a18 ("drm/xe: Implement VM snapshot support for BO's and userptr") Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: José Roberto de Souza <jose.souza@intel.com> Cc: <stable@vger.kernel.org> # v6.12+ Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250228073058.59510-3-thomas.hellstrom@linux.intel.com (cherry picked from commit fcc20a4) Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
1 parent e775e2a commit 1414d95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/xe/xe_vm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,9 @@ static inline void vm_dbg(const struct drm_device *dev,
274274
const char *format, ...)
275275
{ /* noop */ }
276276
#endif
277-
#endif
278277

279278
struct xe_vm_snapshot *xe_vm_snapshot_capture(struct xe_vm *vm);
280279
void xe_vm_snapshot_capture_delayed(struct xe_vm_snapshot *snap);
281280
void xe_vm_snapshot_print(struct xe_vm_snapshot *snap, struct drm_printer *p);
282281
void xe_vm_snapshot_free(struct xe_vm_snapshot *snap);
282+
#endif

0 commit comments

Comments
 (0)