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 AFE024287D
	for <public@inbox.dpdk.org>; Fri, 31 Mar 2023 04:26:08 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id AA94E40EDB;
	Fri, 31 Mar 2023 04:26:08 +0200 (CEST)
Received: from dpdk.org (dpdk.org [92.243.24.197])
 by mails.dpdk.org (Postfix) with ESMTP id 56AD640EDB
 for <test-report@dpdk.org>; Fri, 31 Mar 2023 04:26:08 +0200 (CEST)
Received: by dpdk.org (Postfix, from userid 65534)
 id 30D6F120A07; Fri, 31 Mar 2023 04:26:08 +0200 (CEST)
Subject: |WARNING| pw125653 [RFC 4/4] examples/ptpclient: add frequency
 adjustment support
In-Reply-To: <20230331022258.382085-5-simei.su@intel.com>
References: <20230331022258.382085-5-simei.su@intel.com>
To: test-report@dpdk.org
From: checkpatch@dpdk.org
Cc: Simei Su <simei.su@intel.com>
Message-Id: <20230331022608.30D6F120A07@dpdk.org>
Date: Fri, 31 Mar 2023 04:26:08 +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/125653

_coding style issues_


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

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

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

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

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

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

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#226: 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'?
#234: 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'?
#238: 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'?
#245: FILE: examples/ptpclient/ptpclient.c:500:
+					     -ptp_data->master_offset);

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

total: 0 errors, 11 warnings, 263 lines checked