|WARNING| pw125653 [RFC 4/4] examples/ptpclient: add frequency adjustment support

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Mar 31 04:26:08 CEST 2023


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

_coding style issues_


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

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

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

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

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

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

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#226: 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'?
#234: 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'?
#238: 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'?
#245: FILE: examples/ptpclient/ptpclient.c:500:
+					     -ptp_data->master_offset);

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

total: 0 errors, 11 warnings, 263 lines checked


More information about the test-report mailing list