|WARNING| pw126583 [PATCH 16/30] net/ice/base: add E830 PTP init

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Apr 27 08:42:21 CEST 2023


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

_coding style issues_


WARNING:BRACES: braces {} are not necessary for single statement blocks
#127: FILE: drivers/net/ice/base/ice_ptp_hw.c:1073:
+	for (quad = 0; quad < ICE_MAX_QUAD; quad++) {
+		ice_ptp_reset_ts_memory_quad_e822(hw, quad);
+	}

CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#306: FILE: drivers/net/ice/base/ice_ptp_hw.c:3540:
+{
+

CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#665: FILE: drivers/net/ice/base/ice_ptp_hw.h:317:
+	switch (hw->phy_model) {
+

total: 0 errors, 1 warnings, 2 checks, 639 lines checked


More information about the test-report mailing list