[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240228-cxl-cper3-v1-1-6aa3f1343c6c@intel.com>
Date: Wed, 28 Feb 2024 23:13:16 -0800
From: Ira Weiny <ira.weiny@...el.com>
To: Dan Williams <dan.j.williams@...el.com>,
Jonathan Cameron <jonathan.cameron@...wei.com>,
Smita Koralahalli <Smita.KoralahalliChannabasappa@....com>,
Shiju Jose <shiju.jose@...wei.com>
Cc: Dan Carpenter <dan.carpenter@...aro.org>,
Yazen Ghannam <yazen.ghannam@....com>, Davidlohr Bueso <dave@...olabs.net>,
Dave Jiang <dave.jiang@...el.com>,
Alison Schofield <alison.schofield@...el.com>,
Vishal Verma <vishal.l.verma@...el.com>, Ard Biesheuvel <ardb@...nel.org>,
linux-efi@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-cxl@...r.kernel.org, Ira Weiny <ira.weiny@...el.com>
Subject: [PATCH 1/4] cxl/event: Add missing include files
Additional event testing using the cxl-event.h header revealed that it
did not include the correct headers for the types used. Compile errors
such as:
include/linux/cxl-event.h|11 col 9| error: unknown type name ‘u8’
.. were seen.
Add the correct pre-requisite headers.
Omit the fixes tag because this does not cause any issues until the
header is used again in other code.
Signed-off-by: Ira Weiny <ira.weiny@...el.com>
---
include/linux/cxl-event.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/linux/cxl-event.h b/include/linux/cxl-event.h
index 03fa6d50d46f..812ed16ffc2f 100644
--- a/include/linux/cxl-event.h
+++ b/include/linux/cxl-event.h
@@ -3,6 +3,9 @@
#ifndef _LINUX_CXL_EVENT_H
#define _LINUX_CXL_EVENT_H
+#include <linux/types.h>
+#include <linux/uuid.h>
+
/*
* Common Event Record Format
* CXL rev 3.0 section 8.2.9.2.1; Table 8-42
--
2.43.0
Powered by blists - more mailing lists