diff options
author | Robert Richter <[email protected]> | 2019-11-06 09:33:25 +0000 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2019-11-10 12:40:14 +0100 |
commit | 501eb40d2b85ae70a617a3b46dbb519fb9c76532 (patch) | |
tree | e729d04bad730f97c499d9a91ed24744d9c176f1 /scripts/bpf_helpers_doc.py | |
parent | 7088e29e0423d3195e09079b4f849ec4837e5a75 (diff) |
EDAC/ghes: Remove intermediate buffer pvt->detail_location
detail_location[] is used to collect two location strings so they can
be passed as one to trace_mc_event(). Instead of having an extra copy
step, assemble the location string in other_detail[] from the
beginning.
Using other_detail[] to call trace_mc_event() is now the same as in
edac_mc.c and code can be unified.
Signed-off-by: Robert Richter <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: James Morse <[email protected]>
Reviewed-by: Mauro Carvalho Chehab <[email protected]>
Cc: "[email protected]" <[email protected]>
Cc: Tony Luck <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions