[dpdk-test-report] |WARNING| pw52702 [PATCH v4 04/13] net/enetc: set interface mode for SXGMII

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Apr 12 14:29:49 CEST 2019


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

_coding style issues_


ERROR:TRAILING_WHITESPACE: trailing whitespace
#33: FILE: drivers/net/enetc/base/enetc_hw.h:2:
+ * Copyright 2018-2019 NXP^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#41: FILE: drivers/net/enetc/base/enetc_hw.h:87:
+#define ENETC_PM0_IF_MODE^I^I0x8300^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#42: FILE: drivers/net/enetc/base/enetc_hw.h:88:
+#define ENETC_PM1_IF_MODE^I^I0x9300^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#43: FILE: drivers/net/enetc/base/enetc_hw.h:89:
+#define ENETC_PMO_IFM_RG^I^IBIT(2)^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#44: FILE: drivers/net/enetc/base/enetc_hw.h:90:
+#define ENETC_PM0_IFM_RLP^I^I(BIT(5) | BIT(11))^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#45: FILE: drivers/net/enetc/base/enetc_hw.h:91:
+#define ENETC_PM0_IFM_RGAUTO^I^I(BIT(15) | ENETC_PMO_IFM_RG | BIT(1))^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#46: FILE: drivers/net/enetc/base/enetc_hw.h:92:
+#define ENETC_PM0_IFM_XGMII^I^IBIT(12)^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#54: FILE: drivers/net/enetc/base/enetc_hw.h:118:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#55: FILE: drivers/net/enetc/base/enetc_hw.h:119:
+/* MAC Counters */^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#56: FILE: drivers/net/enetc/base/enetc_hw.h:120:
+#define ENETC_G_EPFBLPR(n)^I^I(0xd00 + 4 * (n))^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#57: FILE: drivers/net/enetc/base/enetc_hw.h:121:
+#define ENETC_G_EPFBLPR1_XGMII^I^I0x80000000^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#58: FILE: drivers/net/enetc/base/enetc_hw.h:122:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#70: FILE: drivers/net/enetc/enetc_ethdev.c:142:
+^I/* set auto-speed for RGMII */^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#71: FILE: drivers/net/enetc/enetc_ethdev.c:143:
+^Iif (enetc_port_rd(&hw->hw, ENETC_PM0_IF_MODE) & ENETC_PMO_IFM_RG) {^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#72: FILE: drivers/net/enetc/enetc_ethdev.c:144:
+^I^Ienetc_port_wr(&hw->hw, ENETC_PM0_IF_MODE, ENETC_PM0_IFM_RGAUTO);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#73: FILE: drivers/net/enetc/enetc_ethdev.c:145:
+^I^Ienetc_port_wr(&hw->hw, ENETC_PM1_IF_MODE, ENETC_PM0_IFM_RGAUTO);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#74: FILE: drivers/net/enetc/enetc_ethdev.c:146:
+^I}^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#75: FILE: drivers/net/enetc/enetc_ethdev.c:147:
+^Iif (enetc_global_rd(&hw->hw,^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#76: FILE: drivers/net/enetc/enetc_ethdev.c:148:
+^I^I^I    ENETC_G_EPFBLPR(1)) == ENETC_G_EPFBLPR1_XGMII) {^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#77: FILE: drivers/net/enetc/enetc_ethdev.c:149:
+^I^Ienetc_port_wr(&hw->hw, ENETC_PM0_IF_MODE, ENETC_PM0_IFM_XGMII);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#78: FILE: drivers/net/enetc/enetc_ethdev.c:150:
+^I^Ienetc_port_wr(&hw->hw, ENETC_PM1_IF_MODE, ENETC_PM0_IFM_XGMII);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#79: FILE: drivers/net/enetc/enetc_ethdev.c:151:
+^I}^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#80: FILE: drivers/net/enetc/enetc_ethdev.c:152:
+^M$

total: 23 errors, 0 warnings, 0 checks, 46 lines checked


More information about the test-report mailing list