hw/arm/smmuv3: Fill u.f_cd_fetch.addr for SMMU_EVT_F_CD_FETCH
PATCH 1/1 hw/arm/smmuv3: Fill u.f_cd_fetch.addr for SMMU_EVT_F_CD_FETCH
This is more like a cosmetics fix since the f_cd_fetch and f_ste_fetch are basically the same field since they are in the exact same union with exact same type.
Signed-off-by Nicolin Chen <[email protected]>
--- hw/arm/smmuv3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/smmuv3.c +1 -1
@@ -377,7 +377,7 @@ static int smmu_get_cd(SMMUv3State *s, STE *ste, SMMUTransCfg *cfg,qemu_log_mask (LOG_GUEST_ERROR ,"Cannot fetch pte at address=0x%" PRIx64"\n" , addr); event->type =SMMU_EVT_F_CD_FETCH ; - event->u.f_ste_fetch.addr = addr; + event->u.f_cd_fetch.addr = addr;return -EINVAL ; }for (i =0 ; i <ARRAY_SIZE (buf->word); i++) {
Signature · 1 line
2.43.0
Peter Maydell
AppliedQuoted 6 lines · Nicolin Chen
This is more like a cosmetics fix since the
f_cd_fetchandf_ste_fetchare basically the same field since they are in the exact same union with exact same type.Signed-off-by Nicolin Chen <[email protected]>
Applied to target-arm.next, thanks.
-- PMM