diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index 2fee782077c1ac5e7043efed88ad971f779bfa07..91bca355cd3105462bdb4c6756d094910ecd0c81 100644 --- a/arch/arm/mm/init.c +++ b/arch/arm/mm/init.c @@ -441,7 +441,7 @@ static inline int free_area(unsigned long pfn, unsigned long end, char *s) static inline void poison_init_mem(void *s, size_t count) { u32 *p = (u32 *)s; - while ((count = count - 4)) + for (; count != 0; count -= 4) *p++ = 0xe7fddef0; }