[dpdk-test-report] |WARNING| pw31390 [PATCH 04/53] net/sfc/base: simplify verify result handling

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Nov 16 09:05:17 CET 2017


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'encp->enc_fw_verified_nvram_update_required'
#56: FILE: drivers/net/sfc/base/efx_nvram.c:959:
+	if ((encp->enc_fw_verified_nvram_update_required) &&
+	    (result != MC_CMD_NVRAM_VERIFY_RC_SUCCESS)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'result != MC_CMD_NVRAM_VERIFY_RC_SUCCESS'
#56: FILE: drivers/net/sfc/base/efx_nvram.c:959:
+	if ((encp->enc_fw_verified_nvram_update_required) &&
+	    (result != MC_CMD_NVRAM_VERIFY_RC_SUCCESS)) {

total: 0 errors, 0 warnings, 2 checks, 35 lines checked


More information about the test-report mailing list