[ovs-dev] [PATCH v2] treewide: Remove uses of ATOMIC_VAR_INIT

2023-02-28 Thread Fangrui Song via dev
ATOMIC_VAR_INIT has a trivial definition `#define ATOMIC_VAR_INIT(value) (value)`, is deprecated in C17/C++20, and will be removed in newer standards in newer GCC/Clang (e.g. https://reviews.llvm.org/D144196). Signed-off-by: Fangrui Song --- Changes from v1: * remove ATOMIC_VAR_INIT from lib/ovs

[ovs-dev] [PATCH] treewide: Remove uses of ATOMIC_VAR_INIT

2023-02-25 Thread Fangrui Song via dev
ATOMIC_VAR_INIT has a trivial definition `#define ATOMIC_VAR_INIT(value) (value)`, is deprecated in C17/C++20, and will be removed in newer standards in newer GCC/Clang (e.g. https://reviews.llvm.org/D144196). Signed-off-by: Fangrui Song --- lib/dpdk.c| 2 +- lib/mpsc-queue.