selinux: fix misspellings using codespell tool
authorXiong Zhenwu <xiong.zhenwu@zte.com.cn>
Mon, 8 Mar 2021 11:03:38 +0000 (03:03 -0800)
committerPaul Moore <paul@paul-moore.com>
Tue, 9 Mar 2021 00:44:30 +0000 (19:44 -0500)
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>
security/selinux/ss/hashtab.c

index 3881787ce492c6693efa55dd20ee6c49204d3037..b8f6b3e0a92191efc24c3743c2e2f195276d7d12 100644 (file)
@@ -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