From commits-return-8973-archive-asf-public=cust-asf.ponee.io@nuttx.apache.org Tue May 5 17:56:41 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 0228E18066C for ; Tue, 5 May 2020 19:56:40 +0200 (CEST) Received: (qmail 86080 invoked by uid 500); 5 May 2020 17:56:40 -0000 Mailing-List: contact commits-help@nuttx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nuttx.apache.org Delivered-To: mailing list commits@nuttx.apache.org Received: (qmail 86030 invoked by uid 99); 5 May 2020 17:56:40 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2020 17:56:40 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 28ED58BFB0; Tue, 5 May 2020 17:56:40 +0000 (UTC) Date: Tue, 05 May 2020 17:56:43 +0000 To: "commits@nuttx.apache.org" Subject: [incubator-nuttx] 04/04: Fix nxstyle complaints from files changed by this PR MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: aguettouche@apache.org In-Reply-To: <158870139913.19666.13289614416113349846@gitbox.apache.org> References: <158870139913.19666.13289614416113349846@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-nuttx X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: 5c7a0bd9f0090eafb83364c4ca2a964185f9f70a X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20200505175640.28ED58BFB0@gitbox.apache.org> This is an automated email from the ASF dual-hosted git repository. aguettouche pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit 5c7a0bd9f0090eafb83364c4ca2a964185f9f70a Author: Gregory Nutt AuthorDate: Tue May 5 10:10:52 2020 -0600 Fix nxstyle complaints from files changed by this PR --- include/nuttx/tls.h | 9 +++++---- libs/libc/tls/tls_getelem.c | 8 ++++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/include/nuttx/tls.h b/include/nuttx/tls.h index 7eb05ac..ba7a0c9 100644 --- a/include/nuttx/tls.h +++ b/include/nuttx/tls.h @@ -34,6 +34,7 @@ /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ + /* Configuration ************************************************************/ #ifdef CONFIG_TLS_ALIGNED @@ -99,10 +100,10 @@ struct tls_info_s * elem - Index of TLS element to return * * Returned Value: - * The value of TLS element associated with 'elem'. Errors are not reported. - * Aero is returned in the event of an error, but zero may also be valid - * value and returned when there is no error. The only possible error would - * be if elemn < 0 or elem >=CONFIG_TLS_NELEM. + * The value of TLS element associated with 'elem'. Errors are not + * reported. Zero is returned in the event of an error, but zero may also + * be valid value and returned when there is no error. The only possible + * error would be if elem < 0 or elem >=CONFIG_TLS_NELEM. * ****************************************************************************/ diff --git a/libs/libc/tls/tls_getelem.c b/libs/libc/tls/tls_getelem.c index 724d7fe..cfa7cd6 100644 --- a/libs/libc/tls/tls_getelem.c +++ b/libs/libc/tls/tls_getelem.c @@ -47,10 +47,10 @@ * elem - Index of TLS element to return * * Returned Value: - * The value of TLS element associated with 'elem'. Errors are not reported. - * Aero is returned in the event of an error, but zero may also be valid - * value and returned when there is no error. The only possible error would - * be if elem >=CONFIG_TLS_NELEM. + * The value of TLS element associated with 'elem'. Errors are not + * reported. Zero is returned in the event of an error, but zero may also + * be valid value and returned when there is no error. The only possible + * error would be if elem < 0 or elem >=CONFIG_TLS_NELEM. * ****************************************************************************/