summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBui Nguyen Nhu Quynh <kaylovefoss@gmail.com>2026-09-18 21:31:24 +0700
committerMadhavan Srinivasan <maddy@linux.ibm.com>2026-09-25 10:14:42 +0530
commita7ea67879af09438d38032107b89a62739b09e96 (patch)
tree436ff9e87cbd767399de76b87571368dac05f007 /tools/perf/scripts/python
parent93f51579e7df248780214094418f205253383cc5 (diff)
KVM: PPC: Fix callback check in kvmppc_gsm_refresh_info
The kvmppc_gsm_refresh_info() function incorrectly checks for the presence of the fill_info callback instead of refresh_info. This can lead to: - NULL pointer dereference if refresh_info is NULL but fill_info is present - EINVAL return if refresh_info is present but fill_info is NULL Fix this by checking the correct callback. Fixes: 6ccbbc33f06ad ("KVM: PPC: Add helper library for Guest State Buffers") Signed-off-by: Bui Nguyen Nhu Quynh <kaylovefoss@gmail.com> Tested-by: Gautam Menghani <gautam@linux.ibm.com> Reviewed-by: Amit Machhiwal <amachhiw@linux.ibm.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20260918143124.9913-1-kaylovefoss@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions