automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Gagandeep Singh <G.Singh@nxp.com>
Subject: [dpdk-test-report] |WARNING| pw52690 [PATCH v3 06/13] net/enetc: replace register read/write macros with functions
Date: Fri, 12 Apr 2019 13:02:40 +0200 (CEST)	[thread overview]
Message-ID: <20190412110240.90EFE7CDA@dpdk.org> (raw)
In-Reply-To: <20190412105105.24351-7-g.singh@nxp.com>

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

_coding style issues_


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

ERROR:DOS_LINE_ENDINGS: DOS line endings
#58: FILE: drivers/net/enetc/enetc_ethdev.c:134:
+^Istruct enetc_hw *enetc_hw = &hw->hw;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#66: FILE: drivers/net/enetc/enetc_ethdev.c:138:
+^Ival = enetc_port_rd(enetc_hw, ENETC_PM0_CMD_CFG);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#67: FILE: drivers/net/enetc/enetc_ethdev.c:139:
+^Ienetc_port_wr(enetc_hw, ENETC_PM0_CMD_CFG,^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#68: FILE: drivers/net/enetc/enetc_ethdev.c:140:
+^I^I      val | ENETC_PM0_TX_EN | ENETC_PM0_RX_EN);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#74: FILE: drivers/net/enetc/enetc_ethdev.c:143:
+^Ival = enetc_port_rd(enetc_hw, ENETC_PMR);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#75: FILE: drivers/net/enetc/enetc_ethdev.c:144:
+^Ienetc_port_wr(enetc_hw, ENETC_PMR, val | ENETC_PMR_EN);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#81: FILE: drivers/net/enetc/enetc_ethdev.c:147:
+^Iif (enetc_port_rd(enetc_hw, ENETC_PM0_IF_MODE) & ENETC_PMO_IFM_RG) {^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#82: FILE: drivers/net/enetc/enetc_ethdev.c:148:
+^I^Ienetc_port_wr(enetc_hw, ENETC_PM0_IF_MODE,^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#83: FILE: drivers/net/enetc/enetc_ethdev.c:149:
+^I^I^I      ENETC_PM0_IFM_RGAUTO);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#84: FILE: drivers/net/enetc/enetc_ethdev.c:150:
+^I^Ienetc_port_wr(enetc_hw, ENETC_PM1_IF_MODE,^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#85: FILE: drivers/net/enetc/enetc_ethdev.c:151:
+^I^I^I      ENETC_PM0_IFM_RGAUTO);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#88: FILE: drivers/net/enetc/enetc_ethdev.c:153:
+^Iif (enetc_global_rd(enetc_hw,^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#92: FILE: drivers/net/enetc/enetc_ethdev.c:155:
+^I^Ienetc_port_wr(enetc_hw, ENETC_PM0_IF_MODE,^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#93: FILE: drivers/net/enetc/enetc_ethdev.c:156:
+^I^I^I      ENETC_PM0_IFM_XGMII);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#94: FILE: drivers/net/enetc/enetc_ethdev.c:157:
+^I^Ienetc_port_wr(enetc_hw, ENETC_PM1_IF_MODE,^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#95: FILE: drivers/net/enetc/enetc_ethdev.c:158:
+^I^I^I      ENETC_PM0_IFM_XGMII);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#103: FILE: drivers/net/enetc/enetc_ethdev.c:169:
+^Istruct enetc_hw *enetc_hw = &hw->hw;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#116: FILE: drivers/net/enetc/enetc_ethdev.c:174:
+^Ival = enetc_port_rd(enetc_hw, ENETC_PMR);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#117: FILE: drivers/net/enetc/enetc_ethdev.c:175:
+^Ienetc_port_wr(enetc_hw, ENETC_PMR, val & (~ENETC_PMR_EN));^M$

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

ERROR:DOS_LINE_ENDINGS: DOS line endings
#119: FILE: drivers/net/enetc/enetc_ethdev.c:177:
+^Ival = enetc_port_rd(enetc_hw, ENETC_PM0_CMD_CFG);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#120: FILE: drivers/net/enetc/enetc_ethdev.c:178:
+^Ienetc_port_wr(enetc_hw, ENETC_PM0_CMD_CFG,^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#121: FILE: drivers/net/enetc/enetc_ethdev.c:179:
+^I^I      val & (~(ENETC_PM0_TX_EN | ENETC_PM0_RX_EN)));^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#129: FILE: drivers/net/enetc/enetc_ethdev.c:226:
+^Istruct enetc_hw *enetc_hw = &hw->hw;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#139: FILE: drivers/net/enetc/enetc_ethdev.c:234:
+^Istatus = enetc_port_rd(enetc_hw, ENETC_PM0_STATUS);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#147: FILE: drivers/net/enetc/enetc_ethdev.c:267:
+^Istruct enetc_hw *enetc_hw = &hw->hw;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#157: FILE: drivers/net/enetc/enetc_ethdev.c:275:
+^Ienetc_wr(enetc_hw, ENETC_SIMR, ENETC_SIMR_EN);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#167: FILE: drivers/net/enetc/enetc_ethdev.c:285:
+^Ienetc_port_wr(enetc_hw, ENETC_PSIPMR, psipmr);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#174: FILE: drivers/net/enetc/enetc_ethdev.c:288:
+^Ienetc_port_wr(enetc_hw, ENETC_PSIPMAR0(0), 0xFFFFFFFF);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#175: FILE: drivers/net/enetc/enetc_ethdev.c:289:
+^Ienetc_port_wr(enetc_hw, ENETC_PSIPMAR1(0), 0xFFFF << 16);^M$

total: 31 errors, 0 warnings, 0 checks, 135 lines checked

           reply	other threads:[~2019-04-12 11:02 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20190412105105.24351-7-g.singh@nxp.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190412110240.90EFE7CDA@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=G.Singh@nxp.com \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).