cxl/cxl-event: include missing <linux/types.h> and <linux/uuid.h>
authorSangyun Kim <sangyun.kim@snu.ac.kr>
Wed, 17 Apr 2024 03:50:43 +0000 (12:50 +0900)
committerDave Jiang <dave.jiang@intel.com>
Tue, 30 Apr 2024 17:44:45 +0000 (10:44 -0700)
commit0e081a0ec04df58ac9caec1916ae6d9d048d50a7
tree5b655c3ee470155846aba44af188252314f75656
parent6ef37af6f465127d7a81d7d2efa228f91d725bf8
cxl/cxl-event: include missing <linux/types.h> and <linux/uuid.h>

The linux/cxl-event.h header file uses the u8, u16, and uuid_t types,
but it doesn't include the necessary header files,
<linux/types.h> and <linux/uuid.h>.

Currently, cxl-event.h is only used by drivers/cxl/cxlmem.h,
and it doesn't cause any errors because cxlmem.h indirectly
includes the required types.

However, cxl-event.h may be used by other CXL-related code in the future,
so it's important to fix this issue by including the missing header files
directly in cxl-event.h.

Signed-off-by: Sangyun Kim <sangyun.kim@snu.ac.kr>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20240417035043.2791431-1-sangyun.kim@snu.ac.kr
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
include/linux/cxl-event.h