aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2023-06-06 18:02:03 -0700
committerSean Christopherson <[email protected]>2023-08-02 16:44:36 -0700
commit0033fa35491680bce65ff78fb41445f472aa5baa (patch)
treea4ceb5db409ccef617ddf1c592266c9a5e8fe377 /lib/test_fortify/write_overflow-strncpy-src.c
parentfdf0eaf11452d72945af31804e2a1048ee1b574c (diff)
KVM: x86/pmu: Use enums instead of hardcoded magic for arch event indices
Add "enum intel_pmu_architectural_events" to replace the magic numbers for the (pseudo-)architectural events, and to give a meaningful name to each event so that new readers don't need psychic powers to understand what the code is doing. Cc: Aaron Lewis <[email protected]> Cc: Like Xu <[email protected]> Reviewed-by: Like Xu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions