From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: yong wang <wang.yong19@zte.com.cn>
Subject: [dpdk-test-report] |WARNING| pw32522 [PATCH 2/4] net/i40e: add null point check and fix mem leak
Date: Wed, 20 Dec 2017 10:17:55 +0100 (CET) [thread overview]
Message-ID: <20171220091755.225E11B024@dpdk.org> (raw)
In-Reply-To: <1513760497-426-2-git-send-email-wang.yong19@zte.com.cn>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/32522
_coding style issues_
WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#47: FILE: drivers/net/i40e/i40e_ethdev.c:7058:
+ if (NULL == tunnel) {
WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#96: FILE: drivers/net/i40e/i40e_ethdev.c:7539:
+ if (NULL == tunnel) {
WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#121: FILE: drivers/net/i40e/i40e_ethdev.c:9170:
+ if (NULL == ethertype_filter) {
WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#142: FILE: drivers/net/i40e/i40e_fdir.c:1615:
+ if (NULL == fdir_filter) {
total: 0 errors, 4 warnings, 0 checks, 117 lines checked
parent reply other threads:[~2017-12-20 9:17 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <1513760497-426-2-git-send-email-wang.yong19@zte.com.cn>]
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=20171220091755.225E11B024@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=test-report@dpdk.org \
--cc=wang.yong19@zte.com.cn \
/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).