> Use of comma as statement separator is discouraged and > reported as warning by clang with -Wcomma > > Signed-off-by: Stephen Hemminger <step...@networkplumber.org> > --- > lib/graph/graph_stats.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/graph/graph_stats.c b/lib/graph/graph_stats.c > index eac73cbf71..588508b473 100644 > --- a/lib/graph/graph_stats.c > +++ b/lib/graph/graph_stats.c > @@ -254,7 +254,7 @@ stats_mem_populate(struct rte_graph_cluster_stats > **stats_in, > *stats_in = NULL; > > /* Clear the new struct cluster_node area */ > - cluster = RTE_PTR_ADD(stats, stats->sz), > + cluster = RTE_PTR_ADD(stats, stats->sz); > memset(cluster, 0, stats->cluster_node_size); > memcpy(cluster->stat.name, graph_node->node->name, RTE_NODE_NAMESIZE); > cluster->stat.id = graph_node->node->id; > -- Acked-by: Konstantin Ananyev <konstantin.anan...@huawei.com> > 2.47.2 >
- [PATCH v2 0/6] Enable warnings about use of comma opera... Stephen Hemminger
- [PATCH v2 1/6] eal: replace unnecessary comma oper... Stephen Hemminger
- RE: [PATCH v2 1/6] eal: replace unnecessary co... Konstantin Ananyev
- [PATCH v2 2/6] ipsec: replace unnecessary comma op... Stephen Hemminger
- RE: [PATCH v2 2/6] ipsec: replace unnecessary ... Konstantin Ananyev
- [PATCH v2 3/6] graph: replace unnecessary comma op... Stephen Hemminger
- RE: [PATCH v2 3/6] graph: replace unnecessary ... Konstantin Ananyev
- [PATCH v2 4/6] test: replace unnecessary comma ope... Stephen Hemminger
- RE: [PATCH v2 4/6] test: replace unnecessary c... Konstantin Ananyev
- [PATCH v2 5/6] app/testpmd: replace comma operator... Stephen Hemminger
- [PATCH v2 6/6] config: enable comma warnings Stephen Hemminger
- RE: [PATCH v2 6/6] config: enable comma warnin... Konstantin Ananyev
- Re: [PATCH v2 0/6] Enable warnings about use of co... fengchengwen
- RE: [PATCH v2 0/6] Enable warnings about use of co... Morten Brørup
- Re: [PATCH v2 0/6] Enable warnings about use o... Stephen Hemminger