aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorIra Weiny <[email protected]>2024-01-31 15:55:39 -0800
committerArd Biesheuvel <[email protected]>2024-02-03 18:31:17 +0100
commitdbea519d6878c298dd0f48e6ec2dbacebe4bbb2a (patch)
tree6ee63cac95e5b9a3e6759db1504f43838fc92e65 /lib/test_fortify/write_overflow-strncpy-src.c
parent54ce1927eb787f7bbb7ee664841c8f5932703f39 (diff)
cxl/trace: Remove unnecessary memcpy's
CPER events don't have UUIDs. Therefore UUIDs were removed from the records passed to trace events and replaced with hard coded values. As pointed out by Jonathan, the new defines for the UUIDs present a more efficient way to assign UUID in trace records.[1] Replace memcpy's with the use of static data. [1] https://lore.kernel.org/all/[email protected]/ Suggested-by: Jonathan Cameron <[email protected]> Signed-off-by: Ira Weiny <[email protected]> Reviewed-by: Dave Jiang <[email protected]> Reviewed-by: Alison Schofield <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions