[dpdk-dev] [PATCH v3 10/24] rte_dev.h: stack declaration at top of own basic block

Thomas Monjalon thomas at monjalon.net
Sun May 13 22:41:36 CEST 2018


12/05/2018 03:59, Andy Green:
> /projects/lagopus/src/dpdk/build/include/rte_dev.h:54:2:
> warning: ISO C90 forbids mixed declarations and
> code [-Wdeclaration-after-statement]
>   char buffer[vsnprintf(NULL, 0, fmt, ap) + 1];

    Fixes: b974e4a40cb5 ("ethdev: make error checking macros public")
    Cc: stable at dpdk.org

> Signed-off-by: Andy Green <andy at warmcat.com>

Applied, thanks




More information about the dev mailing list