rte_free accepts only non-cva qualified arguments so cast away
RTE_ATOMIC qualification for tbl_chng_cnt and h->tbl_chng_cnt when
calling rte_free.

Without this change using enable_stdatomic=true with LLVM or MSVC will
result in a warning being emitted for discarding the atomic

  * update commit message to indicate the conditions under
    which a warning will be issued without this patch.

Tyler Retzlaff (1):
  hash: cast away atomic qualification

 lib/hash/rte_cuckoo_hash.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


Reply via email to