|WARNING| pw145593 [PATCH v4 3/3] examples/ptpclient: add frequency adjustment

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Oct 10 11:57:32 CEST 2024


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

_coding style issues_


WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#118: FILE: doc/guides/sample_app_ug/ptpclient.rst:82:
+            about "master offset".

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#120: FILE: doc/guides/sample_app_ug/ptpclient.rst:84:
+Also, by adding ``-T 1`` and ``-c 1`` , the ``master offset`` value printed in the

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

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

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

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

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

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

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

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

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

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

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

total: 0 errors, 13 warnings, 397 lines checked


More information about the test-report mailing list