aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/numa.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm/numa.c')
-rw-r--r--arch/powerpc/mm/numa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index fe92f7007051..4ff3d8e411a7 100644
--- a/arch/powerpc/mm/numa.c
+++ b/arch/powerpc/mm/numa.c
@@ -501,7 +501,7 @@ static int of_get_assoc_arrays(struct device_node *memory,
501 aa->n_arrays = *prop++; 501 aa->n_arrays = *prop++;
502 aa->array_sz = *prop++; 502 aa->array_sz = *prop++;
503 503
504 /* Now that we know the number of arrrays and size of each array, 504 /* Now that we know the number of arrays and size of each array,
505 * revalidate the size of the property read in. 505 * revalidate the size of the property read in.
506 */ 506 */
507 if (len < (aa->n_arrays * aa->array_sz + 2) * sizeof(unsigned int)) 507 if (len < (aa->n_arrays * aa->array_sz + 2) * sizeof(unsigned int))