From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 658EB2B99; Mon, 27 Nov 2017 12:24:40 +0100 (CET) In-Reply-To: <1511505206-97333-3-git-send-email-jingjing.wu@intel.com> References: <1511505206-97333-3-git-send-email-jingjing.wu@intel.com> To: test-report@dpdk.org Cc: Jingjing Wu Message-Id: <20171127112440.658EB2B99@dpdk.org> Date: Mon, 27 Nov 2017 12:24:40 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw31618 [PATCH v2 02/14] net/avf: initilization of avf PMD X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2017 11:24:40 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/31618 _coding style issues_ WARNING:TYPO_SPELLING: 'initilization' may be misspelled - perhaps 'initialization'? #5: Subject: [dpdk-dev] [PATCH v2 02/14] net/avf: initilization of avf PMD WARNING:ONE_SEMICOLON: Statements terminations use 1 semicolon #600: FILE: drivers/net/avf/avf_ethdev.c:250: + hw->back = AVF_DEV_PRIVATE_TO_ADAPTER(eth_dev->data->dev_private);; CHECK:CAMELCASE: Avoid CamelCase: #744: FILE: drivers/net/avf/avf_ethdev.c:394: + snprintf(z_name, sizeof(z_name), "avf_dma_%"PRIu64, rte_rand()); CHECK:CONCATENATED_STRING: Concatenated strings should use spaces between elements #744: FILE: drivers/net/avf/avf_ethdev.c:394: + snprintf(z_name, sizeof(z_name), "avf_dma_%"PRIu64, rte_rand()); CHECK:CONCATENATED_STRING: Concatenated strings should use spaces between elements #755: FILE: drivers/net/avf/avf_ethdev.c:405: + "memzone %s allocated with physical address: %"PRIu64, CHECK:CONCATENATED_STRING: Concatenated strings should use spaces between elements #769: FILE: drivers/net/avf/avf_ethdev.c:419: + "memzone %s to be freed with physical address: %"PRIu64, WARNING:RETURN_VOID: void function return statements are not generally useful #832: FILE: drivers/net/avf/avf_ethdev.c:482: + return; +} CHECK:BRACES: Unbalanced braces around else statement #1061: FILE: drivers/net/avf/avf_vchnl.c:210: + } else CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'vf->virtchnl_version.major < VIRTCHNL_VERSION_MAJOR_START' #1112: FILE: drivers/net/avf/avf_vchnl.c:261: + if ((vf->virtchnl_version.major < VIRTCHNL_VERSION_MAJOR_START) || + ((vf->virtchnl_version.major == VIRTCHNL_VERSION_MAJOR_START) && + (vf->virtchnl_version.minor < VIRTCHNL_VERSION_MINOR_START))) { CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'vf->virtchnl_version.major == VIRTCHNL_VERSION_MAJOR_START' #1112: FILE: drivers/net/avf/avf_vchnl.c:261: + if ((vf->virtchnl_version.major < VIRTCHNL_VERSION_MAJOR_START) || + ((vf->virtchnl_version.major == VIRTCHNL_VERSION_MAJOR_START) && + (vf->virtchnl_version.minor < VIRTCHNL_VERSION_MINOR_START))) { CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'vf->virtchnl_version.minor < VIRTCHNL_VERSION_MINOR_START' #1112: FILE: drivers/net/avf/avf_vchnl.c:261: + if ((vf->virtchnl_version.major < VIRTCHNL_VERSION_MAJOR_START) || + ((vf->virtchnl_version.major == VIRTCHNL_VERSION_MAJOR_START) && + (vf->virtchnl_version.minor < VIRTCHNL_VERSION_MINOR_START))) { WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line #1149: FILE: drivers/net/avf/avf_vchnl.c:298: + /* TODO: basic offload capabilities, need to + * add advanced/optional offload capabilities total: 0 errors, 4 warnings, 1127 lines checked