[dpdk-test-report] |WARNING| pw75926 [PATCH 05/11] net/hns3: add more hardware error types

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Sep 9 01:12:39 CEST 2020


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

_coding style issues_


WARNING:TYPO_SPELLING: 'OTER' may be misspelled - perhaps 'OTHER'?
#251: FILE: drivers/net/hns3/hns3_ethdev.c:4450:
+	val = hns3_read_dev(hw, HNS3_VECTOR0_OTER_EN_REG);

WARNING:TYPO_SPELLING: 'OTER' may be misspelled - perhaps 'OTHER'?
#253: FILE: drivers/net/hns3/hns3_ethdev.c:4452:
+	hns3_write_dev(hw, HNS3_VECTOR0_OTER_EN_REG, val);

WARNING:TYPO_SPELLING: 'OTER' may be misspelled - perhaps 'OTHER'?
#286: FILE: drivers/net/hns3/hns3_ethdev.c:5273:
+	reg_val = hns3_read_dev(hw, HNS3_VECTOR0_OTER_EN_REG);

WARNING:TYPO_SPELLING: 'OTER' may be misspelled - perhaps 'OTHER'?
#291: FILE: drivers/net/hns3/hns3_ethdev.c:5278:
+		hns3_write_dev(hw, HNS3_VECTOR0_OTER_EN_REG, reg_val);

WARNING:TYPO_SPELLING: 'OTER' may be misspelled - perhaps 'OTHER'?
#298: FILE: drivers/net/hns3/hns3_ethdev.c:5285:
+		hns3_write_dev(hw, HNS3_VECTOR0_OTER_EN_REG, reg_val);

WARNING:TYPO_SPELLING: 'que' may be misspelled - perhaps 'queue'?
#539: FILE: drivers/net/hns3/hns3_intr.c:213:
+	{ .int_msk = BIT(10), .msg = "tx_que_scan_int_ecc_mbit_err",

WARNING:TYPO_SPELLING: 'que' may be misspelled - perhaps 'queue'?
#541: FILE: drivers/net/hns3/hns3_intr.c:215:
+	{ .int_msk = BIT(11), .msg = "rx_que_scan_int_ecc_mbit_err",

CHECK:BRACES: braces {} should be used on all arms of this statement
#1563: FILE: drivers/net/hns3/hns3_intr.c:1290:
+	if (desc_offset == 0)
[...]
+	else {
[...]

CHECK:BRACES: Unbalanced braces around else statement
#1565: FILE: drivers/net/hns3/hns3_intr.c:1292:
+	else {

total: 0 errors, 7 warnings, 2 checks, 1895 lines checked


More information about the test-report mailing list