]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/xe: Add missing leading underscore to include guards
authorShuicheng Lin <shuicheng.lin@intel.com>
Tue, 17 Mar 2026 21:57:20 +0000 (21:57 +0000)
committerShuicheng Lin <shuicheng.lin@intel.com>
Mon, 6 Apr 2026 15:52:53 +0000 (08:52 -0700)
Two headers use XE_<NAME>_H_ (no leading underscore) as their include
guard. Normalize them to _XE_<NAME>_H_ to match the convention used
across the xe codebase.

Files fixed:
  - xe_drm_ras.h:  XE_DRM_RAS_H_  -> _XE_DRM_RAS_H_
  - xe_hw_error.h: XE_HW_ERROR_H_ -> _XE_HW_ERROR_H_

No functional change.

Suggested-by: Nitin Gote <nitin.r.gote@intel.com>
Assisted-by: GitHub Copilot:claude-opus-4.6
Reviewed-by: Nitin Gote <nitin.r.gote@intel.com>
Link: https://patch.msgid.link/20260317215732.2208976-11-shuicheng.lin@intel.com
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
drivers/gpu/drm/xe/xe_drm_ras.h
drivers/gpu/drm/xe/xe_hw_error.h

index 5cc8f0124411ab942def5e636c34cfeb11ad3b5d..365c70e93e82fd67b76a0f383d5785e86f6f47a4 100644 (file)
@@ -2,8 +2,8 @@
 /*
  * Copyright © 2026 Intel Corporation
  */
-#ifndef XE_DRM_RAS_H_
-#define XE_DRM_RAS_H_
+#ifndef _XE_DRM_RAS_H_
+#define _XE_DRM_RAS_H_
 
 struct xe_device;
 
index d86e28c5180c1de4fbebb147a11de109ba23bd9a..5e3a1142410873dc62823b40b596526ecd80fd96 100644 (file)
@@ -2,8 +2,8 @@
 /*
  * Copyright © 2025 Intel Corporation
  */
-#ifndef XE_HW_ERROR_H_
-#define XE_HW_ERROR_H_
+#ifndef _XE_HW_ERROR_H_
+#define _XE_HW_ERROR_H_
 
 #include <linux/types.h>