Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

nitro_enclaves: Add fixes for checkpatch spell check reports

Fix the typos in the words spelling as per the checkpatch script
reports.

Reviewed-by: George-Aurelian Popescu <popegeo@amazon.com>
Signed-off-by: Andra Paraschiv <andraprs@amazon.com>
Link: https://lore.kernel.org/r/20210827154930.40608-7-andraprs@amazon.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Andra Paraschiv and committed by
Greg Kroah-Hartman
059ebe4f 02bba596

+7 -7
+5 -5
include/uapi/linux/nitro_enclaves.h
··· 1 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 2 /* 3 - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 + * Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. 4 4 */ 5 5 6 6 #ifndef _UAPI_LINUX_NITRO_ENCLAVES_H_ ··· 60 60 * 61 61 * Context: Process context. 62 62 * Return: 63 - * * 0 - Logic succesfully completed. 63 + * * 0 - Logic successfully completed. 64 64 * * -1 - There was a failure in the ioctl logic. 65 65 * On failure, errno is set to: 66 66 * * EFAULT - copy_from_user() / copy_to_user() failure. ··· 95 95 * 96 96 * Context: Process context. 97 97 * Return: 98 - * * 0 - Logic succesfully completed. 98 + * * 0 - Logic successfully completed. 99 99 * * -1 - There was a failure in the ioctl logic. 100 100 * On failure, errno is set to: 101 101 * * EFAULT - copy_from_user() / copy_to_user() failure. ··· 118 118 * 119 119 * Context: Process context. 120 120 * Return: 121 - * * 0 - Logic succesfully completed. 121 + * * 0 - Logic successfully completed. 122 122 * * -1 - There was a failure in the ioctl logic. 123 123 * On failure, errno is set to: 124 124 * * EFAULT - copy_from_user() failure. ··· 161 161 * 162 162 * Context: Process context. 163 163 * Return: 164 - * * 0 - Logic succesfully completed. 164 + * * 0 - Logic successfully completed. 165 165 * * -1 - There was a failure in the ioctl logic. 166 166 * On failure, errno is set to: 167 167 * * EFAULT - copy_from_user() / copy_to_user() failure.
+2 -2
samples/nitro_enclaves/ne_ioctl_sample.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 + * Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. 4 4 */ 5 5 6 6 /** ··· 638 638 } 639 639 640 640 /** 641 - * ne_start_enclave_check_booted() - Start the enclave and wait for a hearbeat 641 + * ne_start_enclave_check_booted() - Start the enclave and wait for a heartbeat 642 642 * from it, on a newly created vsock channel, 643 643 * to check it has booted. 644 644 * @enclave_fd : The file descriptor associated with the enclave.