Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

netlabel: Fix spelling mistakes

Fix some spelling mistakes in comments:
Interate ==> Iterate
sucess ==> success

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Zheng Yongjun and committed by
David S. Miller
84a57ae9 20f1932e

+2 -2
+1 -1
net/netlabel/netlabel_domainhash.c
··· 929 929 * @cb_arg: argument for the callback function 930 930 * 931 931 * Description: 932 - * Interate over the domain mapping hash table, skipping the first @skip_bkt 932 + * Iterate over the domain mapping hash table, skipping the first @skip_bkt 933 933 * buckets and @skip_chain entries. For each entry in the table call 934 934 * @callback, if @callback returns a negative value stop 'walking' through the 935 935 * table and return. Updates the values in @skip_bkt and @skip_chain on
+1 -1
net/netlabel/netlabel_kapi.c
··· 719 719 * it in @bitmap. The @offset must be aligned to an unsigned long and will be 720 720 * updated on return if different from what was requested; if the catmap is 721 721 * empty at the requested offset and beyond, the @offset is set to (u32)-1. 722 - * Returns zero on sucess, negative values on failure. 722 + * Returns zero on success, negative values on failure. 723 723 * 724 724 */ 725 725 int netlbl_catmap_getlong(struct netlbl_lsm_catmap *catmap,