[PATCH 0/9] use C11 alignof
fengchengwen
fengchengwen at huawei.com
Thu Jan 25 13:51:05 CET 2024
Series-acked-by: Chengwen Feng <fengchengwen at huawei.com>
On 2024/1/25 7:17, Tyler Retzlaff wrote:
> Replace use of __alignof__(T) and __alignof__(e) with C11 alignof(T)
> and alignof(typeof(e)) respectively to improve portability of the code
> between toolchains.
>
> Tyler Retzlaff (9):
> ring: use C11 alignof
> mbuf: use C11 alignof
> ethdev: use C11 alignof
> eventdev: use C11 alignof
> stack: use C11 alignof
> node: use C11 alignof
> pdcp: use C11 alignof
> reorder: use C11 alignof
> security: use C11 alignof
>
> lib/ethdev/ethdev_driver.c | 3 ++-
> lib/ethdev/rte_flow.c | 3 ++-
> lib/eventdev/rte_eventdev.c | 3 ++-
> lib/mbuf/rte_mbuf_dyn.c | 3 ++-
> lib/node/node_private.h | 4 +++-
> lib/pdcp/rte_pdcp.c | 4 +++-
> lib/reorder/rte_reorder.c | 3 ++-
> lib/ring/rte_ring.c | 3 ++-
> lib/security/rte_security.c | 5 +++--
> lib/stack/rte_stack.c | 3 ++-
> 10 files changed, 23 insertions(+), 11 deletions(-)
>
More information about the dev
mailing list