From patchwork Thu Dec 2 13:12:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Gardner X-Patchwork-Id: 1562700 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=mKDy8nw/; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4J4bxd5VcZz9s1l for ; Fri, 3 Dec 2021 00:13:41 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1mslu0-0006Gi-TC; Thu, 02 Dec 2021 13:13:32 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1msltk-0005op-AU for kernel-team@lists.ubuntu.com; Thu, 02 Dec 2021 13:13:16 +0000 Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id CA6F23F1BA for ; Thu, 2 Dec 2021 13:13:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1638450795; bh=CyEXTkFa81xgMPH23q/uu7J9fxz9JKC20ZXFSd8mN3E=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=mKDy8nw/bQDMBtTht476B8TE5WaRtuXHnxgObdwJgwQLWJ0G1s2SvJAq/txAjmrm2 G0KRsCoEsSZO++jigr79WTp8aepv20MLUqbKxQ21Nqmr9y+mGw8z5JEKHzf48TcVeg PsRiw2zK2WjuWnPVE/G2kYfna00p0TTodSzUXzrDaRqOndbvVj5dxHul/NRtOKVsLe f8iCP6FaLwnvsKdzKmPxUxia8mi0iEPyqJycOTEZnpn7LZRLCZGIlZb1WG+TqwnVlm Lcza1l0wFuUZ3oEsv82fP6arjjlYIgOpNlRDLmyoxR7FexRfcaNf4v1FQLLjHfKfne ezrvNzOYbOg/g== Received: by mail-pj1-f71.google.com with SMTP id x3-20020a17090a1f8300b001a285b9f2cbso10580015pja.6 for ; Thu, 02 Dec 2021 05:13:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CyEXTkFa81xgMPH23q/uu7J9fxz9JKC20ZXFSd8mN3E=; b=AmD5JKgGRkSWbcVFoKBREjt4E/B0kQX4s9a8ezQuItZczi3nGDK9wzDWlzwSBoy0qd VWW+GlKCeyYYGEon/1Yt11Z1SYwU0xsysC1LgxO4JHPoobfW08vXBjosrDprZHDm6PWS IX1QTn6B4NdlmsaNaRgtqEFUhk5Edv63ewMOI8T1Sh/ccxt4tbTSFOvunfxsHjuEMU8A isvRmW+waRFEB3y/zzvU8ja8e2C97uPNILa3dfcZ/QHAUltO4aW0f2IlLgzIo1SiYNgj LO1W8QbqJ39+oJ5C7ghAmKvKdXAQLfztfjXujWxTjkFw8ancB0hsbe1svSOGY24FiePK 2pFQ== X-Gm-Message-State: AOAM530fR4+DSUx/PC5t0ALMOEYO9IOeyr70wAmUtcuUeOdhaov4hK9M S2wALJw2JG0O8IYqmhgrx6mupp6op9WDELlqw2JGbyNTAY2L2gmXnPT40zR9kFhMFJj+LG23fKN l02RnEyynZW0THfrFA1IJghENf3DIbiUBDFkFGbtuMw== X-Received: by 2002:a17:902:e890:b0:142:f3:7bf7 with SMTP id w16-20020a170902e89000b0014200f37bf7mr14982778plg.87.1638450793840; Thu, 02 Dec 2021 05:13:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJwiWVnKJpTY0umzAPanpvAift4G/S/RwH84BJrb5UsCFUsO/Nz+2I2a982LZJD2i1boPVdFmg== X-Received: by 2002:a17:902:e890:b0:142:f3:7bf7 with SMTP id w16-20020a170902e89000b0014200f37bf7mr14982755plg.87.1638450793540; Thu, 02 Dec 2021 05:13:13 -0800 (PST) Received: from localhost.localdomain ([69.163.84.166]) by smtp.gmail.com with ESMTPSA id p3sm2666992pjd.45.2021.12.02.05.13.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Dec 2021 05:13:13 -0800 (PST) From: Tim Gardner To: kernel-team@lists.ubuntu.com Subject: [PATCH 09/10] nitro_enclaves: Add fixes for checkpatch spell check reports Date: Thu, 2 Dec 2021 06:12:57 -0700 Message-Id: <20211202131258.9393-10-tim.gardner@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211202131258.9393-1-tim.gardner@canonical.com> References: <20211202131258.9393-1-tim.gardner@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Andra Paraschiv BugLink: https://bugs.launchpad.net/bugs/1951873 Fix the typos in the words spelling as per the checkpatch script reports. Reviewed-by: George-Aurelian Popescu Signed-off-by: Andra Paraschiv Link: https://lore.kernel.org/r/20210827154930.40608-7-andraprs@amazon.com Signed-off-by: Greg Kroah-Hartman (cherry picked from commit 059ebe4fe332c5d1c25124166527cdf9fe43a3ce) Signed-off-by: Tim Gardner --- include/uapi/linux/nitro_enclaves.h | 10 +++++----- samples/nitro_enclaves/ne_ioctl_sample.c | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/uapi/linux/nitro_enclaves.h b/include/uapi/linux/nitro_enclaves.h index b945073fe544d..e808f5ba124d4 100644 --- a/include/uapi/linux/nitro_enclaves.h +++ b/include/uapi/linux/nitro_enclaves.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. */ #ifndef _UAPI_LINUX_NITRO_ENCLAVES_H_ @@ -60,7 +60,7 @@ * * Context: Process context. * Return: - * * 0 - Logic succesfully completed. + * * 0 - Logic successfully completed. * * -1 - There was a failure in the ioctl logic. * On failure, errno is set to: * * EFAULT - copy_from_user() / copy_to_user() failure. @@ -95,7 +95,7 @@ * * Context: Process context. * Return: - * * 0 - Logic succesfully completed. + * * 0 - Logic successfully completed. * * -1 - There was a failure in the ioctl logic. * On failure, errno is set to: * * EFAULT - copy_from_user() / copy_to_user() failure. @@ -118,7 +118,7 @@ * * Context: Process context. * Return: - * * 0 - Logic succesfully completed. + * * 0 - Logic successfully completed. * * -1 - There was a failure in the ioctl logic. * On failure, errno is set to: * * EFAULT - copy_from_user() failure. @@ -161,7 +161,7 @@ * * Context: Process context. * Return: - * * 0 - Logic succesfully completed. + * * 0 - Logic successfully completed. * * -1 - There was a failure in the ioctl logic. * On failure, errno is set to: * * EFAULT - copy_from_user() / copy_to_user() failure. diff --git a/samples/nitro_enclaves/ne_ioctl_sample.c b/samples/nitro_enclaves/ne_ioctl_sample.c index 480b763142b34..6a60990b2e202 100644 --- a/samples/nitro_enclaves/ne_ioctl_sample.c +++ b/samples/nitro_enclaves/ne_ioctl_sample.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. */ /** @@ -638,7 +638,7 @@ static int ne_start_enclave(int enclave_fd, struct ne_enclave_start_info *encla } /** - * ne_start_enclave_check_booted() - Start the enclave and wait for a hearbeat + * ne_start_enclave_check_booted() - Start the enclave and wait for a heartbeat * from it, on a newly created vsock channel, * to check it has booted. * @enclave_fd : The file descriptor associated with the enclave.