|WARNING| pw145988 [PATCH v7] examples/ptpclient: add frequency adjustment

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 15 10:46:13 CEST 2024


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

_coding style issues_


WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#122: FILE: doc/guides/sample_app_ug/ptpclient.rst:82:
+            about "master offset". Note that the PMD needs to support

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

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

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

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

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

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

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

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

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

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

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

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

total: 0 errors, 13 warnings, 418 lines checked


More information about the test-report mailing list