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

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Sep 5 11:51:14 CEST 2024


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

_coding style issues_


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

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

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

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

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

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

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#314: 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'?
#322: 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'?
#326: 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'?
#337: FILE: examples/ptpclient/ptpclient.c:565:
+					     -ptp_data->master_offset);

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#348: 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'?
#388: FILE: examples/ptpclient/ptpclient.c:706:
+clock_path_delay(struct ptpv2_data_slave_ordinary *ptp_data)

total: 0 errors, 12 warnings, 412 lines checked


More information about the test-report mailing list