Am 15.06.26 um 17:29 schrieb Jani Nikula:
drm_ras.h uses u32. Include linux/types.h for it.

Signed-off-by: Jani Nikula <[email protected]>

Reviewed-by: Thomas Zimmermann <[email protected]>

with the question below answered

---
  include/drm/drm_ras.h | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/include/drm/drm_ras.h b/include/drm/drm_ras.h
index f2a787bc4f64..0beede3ddc4e 100644
--- a/include/drm/drm_ras.h
+++ b/include/drm/drm_ras.h
@@ -6,6 +6,8 @@
  #ifndef __DRM_RAS_H__
  #define __DRM_RAS_H__
+#include <linux/types.h>
+
  #include <uapi/drm/drm_ras.h>

Should the uapi header be included first? That's what I've seen elsewhere and what seems more correct.

Best regards
Thomas

/**

--
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com
GF: Jochen Jaser, Andrew McDonald, Werner Knoblich, (HRB 36809, AG Nürnberg)


Reply via email to