diff options
| author | 2026-09-18 21:31:24 +0700 | |
|---|---|---|
| committer | 2026-09-25 10:14:42 +0530 | |
| commit | a7ea67879af09438d38032107b89a62739b09e96 (patch) | |
| tree | 436ff9e87cbd767399de76b87571368dac05f007 /scripts/Makefile.thinlto | |
| parent | Linux 7.3-rc4 (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
