treewide: Fix typos in various parts of the kernel, and fix some comments.
The below patch fixes some typos in various parts of the kernel, as well as fixes some comments. Please let me know if I missed anything, and I will try to get it changed and resent. Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Acked-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:

committed by
Jiri Kosina

parent
a13b032776
commit
42b2aa86c6
@@ -521,7 +521,7 @@ static int of_get_assoc_arrays(struct device_node *memory,
|
||||
aa->n_arrays = *prop++;
|
||||
aa->array_sz = *prop++;
|
||||
|
||||
/* Now that we know the number of arrrays and size of each array,
|
||||
/* Now that we know the number of arrays and size of each array,
|
||||
* revalidate the size of the property read in.
|
||||
*/
|
||||
if (len < (aa->n_arrays * aa->array_sz + 2) * sizeof(unsigned int))
|
||||
|
Reference in New Issue
Block a user