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 A8B4E42B71 for ; Mon, 22 May 2023 15:17:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A228040EE5; Mon, 22 May 2023 15:17:07 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 8DD3640EE5 for ; Mon, 22 May 2023 15:17:06 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 7CC7F120927; Mon, 22 May 2023 15:17:06 +0200 (CEST) Subject: |WARNING| pw127169 [RFC v3 3/3] examples/ptpclient: add frequency adjustment support In-Reply-To: <20230522132332.102030-4-simei.su@intel.com> References: <20230522132332.102030-4-simei.su@intel.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Simei Su Message-Id: <20230522131706.7CC7F120927@dpdk.org> Date: Mon, 22 May 2023 15:17:06 +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/127169 _coding style issues_ WARNING:TYPO_SPELLING: 'applys' may be misspelled - perhaps 'applies'? #68: This patch applys PI servo algorithm to leverage frequency adjustment WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'? #118: FILE: examples/ptpclient/ptpclient.c:157: + int64_t master_offset; WARNING:TYPO_SPELLING: 'Master' may be misspelled - perhaps 'Primary'? #129: FILE: examples/ptpclient/ptpclient.c:318: + printf(" T4 - Master Clock. %lds %ldns ", WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'? #135: FILE: examples/ptpclient/ptpclient.c:323: + printf(" Delta between master and slave clocks:%"PRId64"ns ", WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #135: FILE: examples/ptpclient/ptpclient.c:323: + printf(" Delta between master and slave clocks:%"PRId64"ns ", WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'? #179: FILE: examples/ptpclient/ptpclient.c:354: + printf("master offset: %"PRId64"ns ", ptp_data->master_offset); WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'? #179: FILE: examples/ptpclient/ptpclient.c:354: + printf("master offset: %"PRId64"ns ", ptp_data->master_offset); WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #228: FILE: examples/ptpclient/ptpclient.c:481: +ptp_adjust_freq(struct ptpv2_data_slave_ordinary *ptp_data) WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'? #236: FILE: examples/ptpclient/ptpclient.c:489: + ptp_data->master_offset = t2_ns - t1_ns - ptp_data->path_delay; WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'? #240: FILE: examples/ptpclient/ptpclient.c:493: + adj_freq = pi_sample(ptp_data->servo, ptp_data->master_offset, WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'? #247: FILE: examples/ptpclient/ptpclient.c:500: + -ptp_data->master_offset); WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #266: FILE: examples/ptpclient/ptpclient.c:643: +clock_path_delay(struct ptpv2_data_slave_ordinary *ptp_data) total: 0 errors, 12 warnings, 263 lines checked