Skip to content

Commit

Permalink
selinux: fix misspellings using codespell tool
Browse files Browse the repository at this point in the history
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>
[PM: subject line tweak]
Signed-off-by: Paul Moore <paul@paul-moore.com>
  • Loading branch information
Xiong Zhenwu authored and Paul Moore committed Mar 9, 2021
1 parent 2554a48 commit 63ddf1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/selinux/ss/hashtab.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 63ddf1b

Please sign in to comment.