OSDN Git Service

kconfig: remove 'const' from the return type of sym_escape_string_value()
[uclinux-h8/linux.git] / lib / vsprintf.c
index 3bcb7be..d7ad44f 100644 (file)
@@ -2019,7 +2019,7 @@ static const struct page_flags_fields pff[] = {
 static
 char *format_page_flags(char *buf, char *end, unsigned long flags)
 {
-       unsigned long main_flags = flags & (BIT(NR_PAGEFLAGS) - 1);
+       unsigned long main_flags = flags & PAGEFLAGS_MASK;
        bool append = false;
        int i;