lkml.org 
[lkml]   [2021]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 6/7] nitro_enclaves: Add fixes for checkpatch spell check reports
    Date
    Fix the typos in the words spelling as per the checkpatch script
    reports.

    Changelog

    v1 -> v2

    * No codebase changes, it was split from the patch 3 in the v1 of the
    patch series.

    Signed-off-by: Andra Paraschiv <andraprs@amazon.com>
    ---
    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.
    --
    2.20.1 (Apple Git-117)



    Amazon Development Center (Romania) S.R.L. registered office: 27A Sf. Lazar Street, UBC5, floor 2, Iasi, Iasi County, 700045, Romania. Registered in Romania. Registration number J22/2621/2005.

    \
     
     \ /
      Last update: 2021-08-27 15:34    [W:3.330 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site