On 7/12/21 5:59 PM, 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.hender...@linaro.org> > --- > include/qemu/atomic.h | 25 +++++-------------------- > 1 file changed, 5 insertions(+), 20 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>