cxl/events: Create common event UUID defines
authorIra Weiny <ira.weiny@intel.com>
Thu, 21 Dec 2023 00:17:30 +0000 (16:17 -0800)
committerDan Williams <dan.j.williams@intel.com>
Tue, 9 Jan 2024 23:39:38 +0000 (15:39 -0800)
commit4c115c9c1f81a6efe2bd68fcefec6836f7f3dc71
tree335fbfaa83e256f6046ac74dc0e3f30fb55a0c42
parent26a1a86dd093a10d0653429bf013dae6e95dccbf
cxl/events: Create common event UUID defines

Dan points out in review that the cxl_test code could be made better
through the use of UUID's defines rather than being open coded.[1]

Create UUID defines and use them rather than open coding them.

Suggested-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Link: http://lore.kernel.org/r/65738d09e30e2_45e0129451@dwillia2-xfh.jf.intel.com.notmuch
Link: https://lore.kernel.org/r/20231220-cxl-cper-v5-3-1bb8a4ca2c7a@intel.com
[djbw: clang-format uuid definitions]
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/core/mbox.c
drivers/cxl/cxlmem.h
tools/testing/cxl/test/mem.c