|WARNING| pw125719 [RFC v2 3/3] examples/ptpclient: add frequency adjustment support

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Apr 3 11:26:33 CEST 2023


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


More information about the test-report mailing list