diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 806f317c2e7e2feb0408e3495170907fa512716c..c4ef450ac4428ceaa5abde2966b4499dbc0c0958 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -8228,7 +8228,7 @@ void __init mem_init_print_info(void) */ #define adj_init_size(start, end, size, pos, adj) \ do { \ - if (start <= pos && pos < end && size > adj) \ + if (&start[0] <= &pos[0] && &pos[0] < &end[0] && size > adj) \ size -= adj; \ } while (0)