qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/2] exec/memory: Enforce checking MemTxResult values


From: Peter Maydell
Subject: Re: [PATCH 0/2] exec/memory: Enforce checking MemTxResult values
Date: Mon, 18 May 2020 10:46:42 +0100

On Sun, 17 May 2020 at 17:48, Philippe Mathieu-Daudé <address@hidden> wrote:
>
> Various places ignore the MemTxResult indicator of
> transaction failed. Some cases might be justified
> (DMA?) while other are probably bugs. To avoid
> ignoring transaction errors, suggestion is to mark
> functions returning MemTxResult with
> warn_unused_result attribute.

Not necessarily a bad idea, but don't we have an awful
lot of places that ignore the result that we'd need
to fix first?

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]