From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Xie RongQiang <xie.rongqiang@zte.com.cn>
Subject: [dpdk-test-report] |WARNING| pw25848 [PATCH] lib/lib_eal:fix the pointer 'elem' may be NULL bug
Date: Thu, 29 Jun 2017 23:54:48 +0200 (CEST) [thread overview]
Message-ID: <20170629215448.1ADE87CDE@dpdk.org> (raw)
In-Reply-To: <201706280921.v5S9L22K090306@mse01.zte.com.cn>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/25848
_coding style issues_
ERROR:EXECUTE_PERMISSIONS: do not set execute permissions for source files
#22: FILE: lib/librte_eal/common/eal_common_memzone.c
ERROR:TRAILING_WHITESPACE: trailing whitespace
#30: FILE: lib/librte_eal/common/eal_common_memzone.c:241:
+^I$
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12)
#31: FILE: lib/librte_eal/common/eal_common_memzone.c:242:
+ if (elem == NULL) {
+ RTE_LOG(ERR, EAL, "%s(): Cannot malloc elem from data
", __func__);
WARNING:QUOTED_WHITESPACE_BEFORE_NEWLINE: unnecessary whitespace before a quoted newline
#32: FILE: lib/librte_eal/common/eal_common_memzone.c:243:
+ RTE_LOG(ERR, EAL, "%s(): Cannot malloc elem from data
", __func__);
total: 2 errors, 2 warnings, 12 lines checked
parent reply other threads:[~2017-06-29 21:54 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <201706280921.v5S9L22K090306@mse01.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=20170629215448.1ADE87CDE@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=test-report@dpdk.org \
--cc=xie.rongqiang@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).