diff options
Diffstat (limited to 'arch/powerpc/mm')
-rw-r--r-- | arch/powerpc/mm/numa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c index b22a83a91cb8..ae0a611f5741 100644 --- a/arch/powerpc/mm/numa.c +++ b/arch/powerpc/mm/numa.c | |||
@@ -521,7 +521,7 @@ static int of_get_assoc_arrays(struct device_node *memory, | |||
521 | aa->n_arrays = *prop++; | 521 | aa->n_arrays = *prop++; |
522 | aa->array_sz = *prop++; | 522 | aa->array_sz = *prop++; |
523 | 523 | ||
524 | /* Now that we know the number of arrrays and size of each array, | 524 | /* Now that we know the number of arrays and size of each array, |
525 | * revalidate the size of the property read in. | 525 | * revalidate the size of the property read in. |
526 | */ | 526 | */ |
527 | if (len < (aa->n_arrays * aa->array_sz + 2) * sizeof(unsigned int)) | 527 | if (len < (aa->n_arrays * aa->array_sz + 2) * sizeof(unsigned int)) |