* [PATCH] security/selinux/ss: fix misspellings using codespell tool
@ 2021-03-08 11:03 menglong8.dong
2021-03-09 0:45 ` Paul Moore
0 siblings, 1 reply; 2+ messages in thread
From: menglong8.dong @ 2021-03-08 11:03 UTC (permalink / raw)
To: paul
Cc: stephen.smalley.work, eparis, omosnace, xiong.zhenwu, selinux,
linux-kernel
From: Xiong Zhenwu <xiong.zhenwu@zte.com.cn>
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 <xiong.zhenwu@zte.com.cn>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] security/selinux/ss: fix misspellings using codespell tool
2021-03-08 11:03 [PATCH] security/selinux/ss: fix misspellings using codespell tool menglong8.dong
@ 2021-03-09 0:45 ` Paul Moore
0 siblings, 0 replies; 2+ messages in thread
From: Paul Moore @ 2021-03-09 0:45 UTC (permalink / raw)
To: menglong8.dong
Cc: Stephen Smalley, Eric Paris, Ondrej Mosnacek, xiong.zhenwu,
selinux, linux-kernel
On Mon, Mar 8, 2021 at 6:03 AM <menglong8.dong@gmail.com> wrote:
>
> From: Xiong Zhenwu <xiong.zhenwu@zte.com.cn>
>
> 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 <xiong.zhenwu@zte.com.cn>
> ---
> security/selinux/ss/hashtab.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Merged, thanks.
--
paul moore
www.paul-moore.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-09 0:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-08 11:03 [PATCH] security/selinux/ss: fix misspellings using codespell tool menglong8.dong
2021-03-09 0:45 ` Paul Moore
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).