summaryrefslogtreecommitdiff
path: root/include/ras/ras_event.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-01-25 16:30:35 +0200
committerBorislav Petkov <bp@suse.de>2019-01-25 16:40:40 +0100
commit9359a8cbcc77d4afb07444f341e39015d232bd55 (patch)
treec5983ebe1e9ac362fb3657057fecc0c8e4bed3d2 /include/ras/ras_event.h
parent30aa3d26edb0f3d7992757287eec0ca588a5c259 (diff)
RAS: Use consistent types for UUIDs
The commit 297b64c74385 ("ras: acpi / apei: generate trace event for unrecognized CPER section") brought inconsistency in UUID types which are used across the RAS subsystem. Fix this by using guid_t everywhere. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Cc: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com> Cc: "Steven Rostedt (VMware)" <rostedt@goodmis.org> Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Thomas Tai <thomas.tai@oracle.com> Cc: Tony Luck <tony.luck@intel.com> Cc: Tyler Baicar <tbaicar@codeaurora.org> Link: https://lkml.kernel.org/r/20190125143035.81589-1-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'include/ras/ras_event.h')
-rw-r--r--include/ras/ras_event.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/ras/ras_event.h b/include/ras/ras_event.h
index a0794632fd01..36c5c5e38c1d 100644
--- a/include/ras/ras_event.h
+++ b/include/ras/ras_event.h
@@ -27,7 +27,7 @@
TRACE_EVENT(extlog_mem_event,
TP_PROTO(struct cper_sec_mem_err *mem,
u32 err_seq,
- const uuid_le *fru_id,
+ const guid_t *fru_id,
const char *fru_text,
u8 sev),
@@ -39,7 +39,7 @@ TRACE_EVENT(extlog_mem_event,
__field(u8, sev)
__field(u64, pa)
__field(u8, pa_mask_lsb)
- __field_struct(uuid_le, fru_id)
+ __field_struct(guid_t, fru_id)
__string(fru_text, fru_text)
__field_struct(struct cper_mem_err_compact, data)
),
@@ -218,8 +218,8 @@ TRACE_EVENT(arm_event,
*/
TRACE_EVENT(non_standard_event,
- TP_PROTO(const uuid_le *sec_type,
- const uuid_le *fru_id,
+ TP_PROTO(const guid_t *sec_type,
+ const guid_t *fru_id,
const char *fru_text,
const u8 sev,
const u8 *err,