From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <test-report-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 82FEA428AA
	for <public@inbox.dpdk.org>; Mon,  3 Apr 2023 11:26:35 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 7BBF540A7E;
	Mon,  3 Apr 2023 11:26:35 +0200 (CEST)
Received: from dpdk.org (dpdk.org [92.243.24.197])
 by mails.dpdk.org (Postfix) with ESMTP id ECD7A40A7E
 for <test-report@dpdk.org>; Mon,  3 Apr 2023 11:26:33 +0200 (CEST)
Received: by dpdk.org (Postfix, from userid 65534)
 id E0CEE121EDE; Mon,  3 Apr 2023 11:26:33 +0200 (CEST)
Subject: |WARNING| pw125719 [RFC v2 3/3] examples/ptpclient: add frequency
 adjustment support
In-Reply-To: <20230403092248.81551-4-simei.su@intel.com>
References: <20230403092248.81551-4-simei.su@intel.com>
To: test-report@dpdk.org
From: checkpatch@dpdk.org
Cc: Simei Su <simei.su@intel.com>
Message-Id: <20230403092633.E0CEE121EDE@dpdk.org>
Date: Mon,  3 Apr 2023 11:26:33 +0200 (CEST)
X-BeenThere: test-report@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: automatic DPDK test reports <test-report.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/test-report>,
 <mailto:test-report-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/test-report/>
List-Post: <mailto:test-report@dpdk.org>
List-Help: <mailto:test-report-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/test-report>,
 <mailto:test-report-request@dpdk.org?subject=subscribe>
Errors-To: test-report-bounces@dpdk.org

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

_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