2021-03-08 11:06:11

by Menglong Dong

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

From: Xiong Zhenwu <[email protected]>

A typo is found out by codespell tool in 16th line of hashtab.c

$ codespell ./security/selinux/ss/
./hashtab.c:16: rouding ==> rounding

Fix a typo found by codespell.

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

diff --git a/security/selinux/ss/hashtab.c b/security/selinux/ss/hashtab.c
index 3881787ce492..b8f6b3e0a921 100644
--- a/security/selinux/ss/hashtab.c
+++ b/security/selinux/ss/hashtab.c
@@ -13,7 +13,7 @@ static struct kmem_cache *hashtab_node_cachep __ro_after_init;

/*
* Here we simply round the number of elements up to the nearest power of two.
- * I tried also other options like rouding down or rounding to the closest
+ * I tried also other options like rounding down or rounding to the closest
* power of two (up or down based on which is closer), but I was unable to
* find any significant difference in lookup/insert performance that would
* justify switching to a different (less intuitive) formula. It could be that
--
2.25.1


2021-03-09 00:47:02

by Paul Moore

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

On Mon, Mar 8, 2021 at 6:03 AM <[email protected]> wrote:
>
> From: Xiong Zhenwu <[email protected]>
>
> A typo is found out by codespell tool in 16th line of hashtab.c
>
> $ codespell ./security/selinux/ss/
> ./hashtab.c:16: rouding ==> rounding
>
> Fix a typo found by codespell.
>
> Signed-off-by: Xiong Zhenwu <[email protected]>
> ---
> security/selinux/ss/hashtab.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Merged, thanks.

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