2021-03-08 11:24:14

by Menglong Dong

[permalink] [raw]
Subject: [PATCH] security/selinux/include/: fix misspellings using codespell tool

From: Xiong Zhenwu <[email protected]>

A typo is f out by codespell tool in 422th line of security.h:

$ codespell ./security/selinux/include/
./security.h:422: thie ==> the, this

Fix a typo found by codespell.

Signed-off-by: Xiong Zhenwu <[email protected]>
---
security/selinux/include/security.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h
index 6fe25300b89d..7130c9648ad1 100644
--- a/security/selinux/include/security.h
+++ b/security/selinux/include/security.h
@@ -419,7 +419,7 @@ extern struct page *selinux_kernel_status_page(struct selinux_state *state);

#define SELINUX_KERNEL_STATUS_VERSION 1
struct selinux_kernel_status {
- u32 version; /* version number of thie structure */
+ u32 version; /* version number of the structure */
u32 sequence; /* sequence number of seqlock logic */
u32 enforcing; /* current setting of enforcing mode */
u32 policyload; /* times of policy reloaded */
--
2.25.1


2021-03-09 00:51:03

by Paul Moore

[permalink] [raw]
Subject: Re: [PATCH] security/selinux/include/: fix misspellings using codespell tool

On Mon, Mar 8, 2021 at 6:19 AM <[email protected]> wrote:
>
> From: Xiong Zhenwu <[email protected]>
>
> A typo is f out by codespell tool in 422th line of security.h:
>
> $ codespell ./security/selinux/include/
> ./security.h:422: thie ==> the, this
>
> Fix a typo found by codespell.
>
> Signed-off-by: Xiong Zhenwu <[email protected]>
> ---
> security/selinux/include/security.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Merged, thanks.

--
paul moore
http://www.paul-moore.com