Supercedes: 20260123091505.20025-1-3160104094@zju.edu.cn
("accel/tcg: Fix uninitialized host_pc in tb_gen_code")
The documentation for get_page_addr_code_hostp already says
that hostp should be initialized to NULL with return of -1.
Honor that.
r~
Richard Henderson (2):
accel/tcg: Don't pass NULL to get_page_addr_code_hostp
accel/tcg: Fix uninitialized hostp in get_page_addr_code_hostp
accel/tcg/internal-common.h | 5 +++--
accel/tcg/cputlb.c | 7 +++----
accel/tcg/user-exec.c | 4 +---
3 files changed, 7 insertions(+), 9 deletions(-)
--
2.43.0