Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sparse: Remove wrappers for some DPDK headers.
Since sparse v0.6.4 (which is 3 years old and happens to be the latest official release), GCC atomic builtins are recognised by sparse (see below first three links). In the case of rte_atomic.h, DPDK stopped using __sync in favor of __atomic builtin in v23.07 (see below last link). However, no OVS developer complained about sparse build failures because of rte_atomic.h which means that everyone uses a recent sparse (if any). Remove wrappers around those DPDK headers. Link: https://git.kernel.org/pub/scm/devel/sparse/sparse.git/commit/?id=cf8f104749f5 Link: https://git.kernel.org/pub/scm/devel/sparse/sparse.git/commit/?id=7cdf84691f33 Link: https://git.kernel.org/pub/scm/devel/sparse/sparse.git/commit/?id=f42e2afa9ed0 Link: https://git.dpdk.org/dpdk/commit/?id=a2f807316dae Signed-off-by: David Marchand <[email protected]> Acked-by: Aaron Conole <[email protected]> Signed-off-by: Kevin Traynor <[email protected]>
- Loading branch information