|WARNING| pw145734 [PATCH v6 3/3] examples/ptpclient: add frequency adjustment

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Oct 11 08:58:27 CEST 2024


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

_coding style issues_


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

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#118: 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'?
#168: FILE: examples/ptpclient/ptpclient.c:167:
+	int64_t master_offset;

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

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

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

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

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

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#239: 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'?
#348: 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'?
#356: 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'?
#360: 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'?
#371: 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