summaryrefslogtreecommitdiff
path: root/scripts/livepatch
diff options
context:
space:
mode:
authorCarlos López <clopez@suse.de>2026-02-12 17:05:56 +0300
committerSean Christopherson <seanjc@google.com>2026-03-03 01:31:28 +0300
commitc522ac04ba9d7ec6003633aa1501c7392cdf8b2d (patch)
tree7ea26ae936fc73edb8d574a22a27cf5c90f3c104 /scripts/livepatch
parente1df128dc00beaa53b0be4e751b7f2f0192dc146 (diff)
downloadlinux-c522ac04ba9d7ec6003633aa1501c7392cdf8b2d.tar.xz
KVM: x86/pmu: annotate struct kvm_x86_pmu_event_filter with __counted_by()
struct kvm_x86_pmu_event_filter has a flexible array member, so annotate it with the field that describes the amount of entries in such array. Opportunistically replace the open-coded array size calculation with flex_array_size() when copying the array portion of the struct from userspace. Signed-off-by: Carlos López <clopez@suse.de> Link: https://patch.msgid.link/20260212140556.3883030-2-clopez@suse.de Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/livepatch')
0 files changed, 0 insertions, 0 deletions