diff options
author | Fabio M. De Francesco <[email protected]> | 2024-06-07 16:43:58 +0200 |
---|---|---|
committer | Dave Jiang <[email protected]> | 2024-07-02 12:52:25 -0700 |
commit | 675e979db473d08be346a3190c5f0db095a57153 (patch) | |
tree | 9d2f7647b3a1deab1822806a0e9ea47f6eb6256b /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 22a40d14b572deb80c0648557f4bd502d7e83826 (diff) |
cxl/events: Use a common struct for DRAM and General Media events
cxl_event_common was an unfortunate naming choice and caused confusion with
the existing Common Event Record. Furthermore, its fields didn't map all
the common information between DRAM and General Media Events.
Remove cxl_event_common and introduce cxl_event_media_hdr to record common
information between DRAM and General Media events.
cxl_event_media_hdr, which is embedded in both cxl_event_gen_media and
cxl_event_dram, leverages the commonalities between the two events to
simplify their respective handling.
Suggested-by: Dan Williams <[email protected]>
Reviewed-by: Alison Schofield <[email protected]>
Reviewed-by: Dan Williams <[email protected]>
Reviewed-by: Ira Weiny <[email protected]>
Signed-off-by: Fabio M. De Francesco <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions