* [dpdk-test-report] |WARNING| pw25848 [PATCH] lib/lib_eal:fix the pointer 'elem' may be NULL bug
[not found] <201706280921.v5S9L22K090306@mse01.zte.com.cn>
@ 2017-06-29 21:54 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-06-29 21:54 UTC (permalink / raw)
To: test-report; +Cc: Xie RongQiang
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
^ permalink raw reply [flat|nested] only message in thread