[dpdk-test-report] |WARNING| pw88514 [PATCH 3/5] net/txgbe/base: support to handle backplane AN73 flow

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Mar 5 12:25:05 CET 2021


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

_coding style issues_


WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#433: FILE: drivers/net/txgbe/base/txgbe_phy.c:2599:
+		wr32_epcs(hw, VR_PMA_KRTR_PRBS_CTRL1, VR_PMA_KRTR_PRBS_TIM_LMT);

ERROR:C99_COMMENTS: do not use C99 // comments
#612: FILE: drivers/net/txgbe/base/txgbe_type.h:799:
+	u32 next_page;	  //Next Page (bit0)

ERROR:C99_COMMENTS: do not use C99 // comments
#613: FILE: drivers/net/txgbe/base/txgbe_type.h:800:
+	u32 link_ability; //Link Ability (bit[7:0])

ERROR:C99_COMMENTS: do not use C99 // comments
#614: FILE: drivers/net/txgbe/base/txgbe_type.h:801:
+	u32 fec_ability;  //FEC Request (bit1), FEC Enable  (bit0)

ERROR:C99_COMMENTS: do not use C99 // comments
#615: FILE: drivers/net/txgbe/base/txgbe_type.h:802:
+	u32 current_link_mode; //current link mode for local device

total: 4 errors, 1 warnings, 0 checks, 526 lines checked


More information about the test-report mailing list