automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Gongming Chen <chengongming1900@outlook.com>
Subject: |WARNING| pw140016 [PATCH] graph: fix does not return the unique id when create graph
Date: Fri, 10 May 2024 08:29:22 +0200 (CEST)	[thread overview]
Message-ID: <20240510062922.EAE50121E57@dpdk.org> (raw)
In-Reply-To: <TYAP286MB0649590C69AE98E742C6EE5AD8E72@TYAP286MB0649.JPNP286.PROD.OUTLOOK.COM>

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/140016

_coding style issues_


ERROR:INITIALISED_STATIC: do not initialise statics to 0
#155: FILE: lib/graph/graph.c:242:
+	static rte_graph_t graph_id = 0;

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#399: FILE: lib/graph/graph.c:753:
+	} else if ((graph = graph_find_by_id(id))) {

total: 2 errors, 0 warnings, 291 lines checked

  parent reply	other threads:[~2024-05-10  6:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <TYAP286MB0649590C69AE98E742C6EE5AD8E72@TYAP286MB0649.JPNP286.PROD.OUTLOOK.COM>
2024-05-10  6:07 ` |FAILURE| " qemudev
2024-05-10  6:29 ` checkpatch [this message]
2024-05-10  7:04 ` 0-day Robot
2024-05-10 12:36 ` dpdklab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240510062922.EAE50121E57@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=chengongming1900@outlook.com \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).