|WARNING| pw143903 [PATCH v2 3/3] examples/ptpclient: add frequency adjustment support

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Sep 10 11:46:34 CEST 2024


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

_coding style issues_


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

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

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

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

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

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

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

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

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

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

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

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

total: 0 errors, 12 warnings, 404 lines checked


More information about the test-report mailing list