[dpdk-test-report] |WARNING| pw31401 [PATCH 06/53] net/sfc/base: extend NVRAM RW finish to return verify result

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


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

_coding style issues_


CHECK:SPACING: No space is necessary after a cast
#50: FILE: drivers/net/sfc/base/efx_bootcfg.c:348:
+		(void) efx_nvram_rw_finish(enp, EFX_NVRAM_BOOTROM_CFG, NULL);

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#55: FILE: drivers/net/sfc/base/efx_bootcfg.c:352:
+	if ((rc = efx_nvram_rw_finish(enp, EFX_NVRAM_BOOTROM_CFG, NULL)) != 0)

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#64: FILE: drivers/net/sfc/base/efx_bootcfg.c:524:
+	if ((rc = efx_nvram_rw_finish(enp, EFX_NVRAM_BOOTROM_CFG, NULL)) != 0)

CHECK:SPACING: No space is necessary after a cast
#73: FILE: drivers/net/sfc/base/efx_bootcfg.c:540:
+	(void) efx_nvram_rw_finish(enp, EFX_NVRAM_BOOTROM_CFG, NULL);

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


More information about the test-report mailing list