From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2EF5C45B42 for ; Tue, 15 Oct 2024 10:46:15 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 271534064C; Tue, 15 Oct 2024 10:46:15 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id B0000402DE for ; Tue, 15 Oct 2024 10:46:13 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 0DAE9120757; Tue, 15 Oct 2024 10:46:13 +0200 (CEST) Subject: |WARNING| pw145988 [PATCH v7] examples/ptpclient: add frequency adjustment In-Reply-To: <20241015082201.1554637-1-mingjinx.ye@intel.com> References: <20241015082201.1554637-1-mingjinx.ye@intel.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Mingjin Ye Message-Id: <20241015084613.0DAE9120757@dpdk.org> Date: Tue, 15 Oct 2024 10:46:13 +0200 (CEST) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org 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