On 6/17/2025 8:34 PM, Alejandro Jimenez wrote:
> From: Ethan Milon <ethan.mi...@eviden.com>
> 
> The variable `oldval` was incorrectly declared as a 32-bit `uint32_t`.
> This could lead to truncation and incorrect behavior where the upper
> read-only 32 bits are significant.
> 
> Fix the type of `oldval` to match the return type of `ldq_le_p()`.
> 
> Cc: qemu-sta...@nongnu.org
> Fixes: d29a09ca6842 ("hw/i386: Introduce AMD IOMMU")
> Signed-off-by: Ethan Milon <ethan.mi...@eviden.com>

Reviewed-by: Vasant Hegde <vasant.he...@amd.com>

-Vasant


Reply via email to