From: Aurelien DARRAGON Date: Thu, 20 Oct 2022 07:19:30 +0000 (+0200) Subject: MINOR: list: fixing typo in MT_LIST_LOCK_ELT X-Git-Tag: v2.7-dev9~145 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bcaa401646a063a82f5df514e8595a8f50e58a5c;p=thirdparty%2Fhaproxy.git MINOR: list: fixing typo in MT_LIST_LOCK_ELT A minor typo was made in MT_LIST_LOCK_ELT, preventing haproxy from compiling if MT_LIST_LOCK_ELT is used in the code. Today, the macro is unused, and that's the reason why the typo has remained unnoticed for such a long time. Fixing it so it can be used in upcoming developments. No backport required. --- diff --git a/include/haproxy/list.h b/include/haproxy/list.h index c6438fb9da..332098349b 100644 --- a/include/haproxy/list.h +++ b/include/haproxy/list.h @@ -612,7 +612,7 @@ #define MT_LIST_LOCK_ELT(_el) \ ({ \ struct mt_list ret; \ - struct mt_liet *el = (_el); \ + struct mt_list *el = (_el); \ for (;;__ha_cpu_relax()) { \ struct mt_list *n, *n2; \ struct mt_list *p, *p2 = NULL; \