automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Simei Su <simei.su@intel.com>
Subject: |WARNING| pw125719 [RFC v2 3/3] examples/ptpclient: add frequency adjustment support
Date: Mon,  3 Apr 2023 11:26:33 +0200 (CEST)	[thread overview]
Message-ID: <20230403092633.E0CEE121EDE@dpdk.org> (raw)
In-Reply-To: <20230403092248.81551-4-simei.su@intel.com>

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

_coding style issues_


WARNING:TYPO_SPELLING: 'applys' may be misspelled - perhaps 'applies'?
#68: 
This patch applys PI servo algorithm to leverage frequency adjustment

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#118: FILE: examples/ptpclient/ptpclient.c:157:
+	int64_t master_offset;

WARNING:TYPO_SPELLING: 'Master' may be misspelled - perhaps 'Primary'?
#129: FILE: examples/ptpclient/ptpclient.c:318:
+	printf("
T4 - Master Clock.  %lds %ldns
",

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#135: FILE: examples/ptpclient/ptpclient.c:323:
+		printf("
Delta between master and slave clocks:%"PRId64"ns
",

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#135: FILE: examples/ptpclient/ptpclient.c:323:
+		printf("
Delta between master and slave clocks:%"PRId64"ns
",

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#179: FILE: examples/ptpclient/ptpclient.c:354:
+		printf("master offset: %"PRId64"ns
", ptp_data->master_offset);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#179: FILE: examples/ptpclient/ptpclient.c:354:
+		printf("master offset: %"PRId64"ns
", ptp_data->master_offset);

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#228: FILE: examples/ptpclient/ptpclient.c:481:
+ptp_adjust_freq(struct ptpv2_data_slave_ordinary *ptp_data)

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#236: FILE: examples/ptpclient/ptpclient.c:489:
+	ptp_data->master_offset = t2_ns - t1_ns - ptp_data->path_delay;

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#240: FILE: examples/ptpclient/ptpclient.c:493:
+	adj_freq = pi_sample(ptp_data->servo, ptp_data->master_offset,

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#247: FILE: examples/ptpclient/ptpclient.c:500:
+					     -ptp_data->master_offset);

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#266: FILE: examples/ptpclient/ptpclient.c:643:
+clock_path_delay(struct ptpv2_data_slave_ordinary *ptp_data)

total: 0 errors, 12 warnings, 263 lines checked

      parent reply	other threads:[~2023-04-03  9:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20230403092248.81551-4-simei.su@intel.com>
2023-04-03  9:17 ` |SUCCESS| pw125717-125719 " qemudev
2023-04-03  9:21 ` qemudev
2023-04-03  9:26 ` checkpatch [this message]

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=20230403092633.E0CEE121EDE@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=simei.su@intel.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).