Re: [PATCH v2 01/11] qemu/atomic: Use macros for CONFIG_ATOMIC64

2021-07-17 Thread Philippe Mathieu-Daudé
On 7/17/21 3:41 AM, Richard Henderson wrote: > Clang warnings about questionable atomic usage get localized > to the inline function in atomic.h. By using a macro, we get > the full traceback to the original use that caused the warning. > > Signed-off-by: Richard Henderson > --- > include/qemu/

[PATCH v2 01/11] qemu/atomic: Use macros for CONFIG_ATOMIC64

2021-07-16 Thread Richard Henderson
Clang warnings about questionable atomic usage get localized to the inline function in atomic.h. By using a macro, we get the full traceback to the original use that caused the warning. Signed-off-by: Richard Henderson --- include/qemu/atomic.h | 25 + 1 file changed, 5