[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 01/11] qemu/atomic: Use macros for CONFIG_ATOMIC64
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v2 01/11] qemu/atomic: Use macros for CONFIG_ATOMIC64 |
Date: |
Sat, 17 Jul 2021 12:04:57 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
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 <richard.henderson@linaro.org>
> ---
> include/qemu/atomic.h | 25 +++++--------------------
> 1 file changed, 5 insertions(+), 20 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
- [PATCH v2 00/11] Atomic cleanup + clang-12 build fix, Richard Henderson, 2021/07/16
- [PATCH v2 01/11] qemu/atomic: Use macros for CONFIG_ATOMIC64, Richard Henderson, 2021/07/16
- Re: [PATCH v2 01/11] qemu/atomic: Use macros for CONFIG_ATOMIC64,
Philippe Mathieu-Daudé <=
- [PATCH v2 02/11] qemu/atomic: Simplify typeof_strip_qual, Richard Henderson, 2021/07/16
- [PATCH v2 03/11] qemu/atomic: Remove pre-C11 atomic fallbacks, Richard Henderson, 2021/07/16
- [PATCH v2 05/11] tcg: Rename helper_atomic_*_mmu and provide for user-only, Richard Henderson, 2021/07/16
- [PATCH v2 07/11] accel/tcg: Fold EXTRA_ARGS into atomic_template.h, Richard Henderson, 2021/07/16
- [PATCH v2 04/11] qemu/atomic: Add aligned_{int64,uint64}_t types, Richard Henderson, 2021/07/16
- [PATCH v2 06/11] accel/tcg: Standardize atomic helpers on softmmu api, Richard Henderson, 2021/07/16
- [PATCH v2 09/11] accel/tcg: Expand ATOMIC_MMU_LOOKUP_*, Richard Henderson, 2021/07/16
- [PATCH v2 10/11] trace: Fold mem-internal.h into mem.h, Richard Henderson, 2021/07/16