lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230822095537.500047f7@canb.auug.org.au>
Date:   Tue, 22 Aug 2023 09:55:37 +1000
From:   Stephen Rothwell <sfr@...b.auug.org.au>
To:     Andrew Morton <akpm@...ux-foundation.org>
Cc:     "Matthew Wilcox (Oracle)" <willy@...radead.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: linux-next: build failure after merge of the mm tree

Hi all,

After merging the mm tree, today's linux-next build
(powerpc_ppc64_defconfig) failed like this:

In file included from include/trace/trace_events.h:27,
                 from include/trace/define_trace.h:102,
                 from fs/xfs/xfs_trace.h:4428,
                 from fs/xfs/xfs_trace.c:45:
include/linux/pgtable.h:8:25: error: initializer element is not constant
    8 | #define PMD_ORDER       (PMD_SHIFT - PAGE_SHIFT)
      |                         ^
include/trace/stages/init.h:20:31: note: in definition of macro 'TRACE_DEFINE_ENUM'
   20 |                 .eval_value = a                         \
      |                               ^
fs/xfs/./xfs_trace.h:805:19: note: in expansion of macro 'PMD_ORDER'
  805 | TRACE_DEFINE_ENUM(PMD_ORDER);
      |                   ^~~~~~~~~
include/linux/pgtable.h:8:25: note: (near initialization for '__TRACE_SYSTEM_PMD_ORDER.eval_value')
    8 | #define PMD_ORDER       (PMD_SHIFT - PAGE_SHIFT)
      |                         ^
include/trace/stages/init.h:20:31: note: in definition of macro 'TRACE_DEFINE_ENUM'
   20 |                 .eval_value = a                         \
      |                               ^
fs/xfs/./xfs_trace.h:805:19: note: in expansion of macro 'PMD_ORDER'
  805 | TRACE_DEFINE_ENUM(PMD_ORDER);
      |                   ^~~~~~~~~
include/linux/pgtable.h:9:25: error: initializer element is not constant
    9 | #define PUD_ORDER       (PUD_SHIFT - PAGE_SHIFT)
      |                         ^
include/trace/stages/init.h:20:31: note: in definition of macro 'TRACE_DEFINE_ENUM'
   20 |                 .eval_value = a                         \
      |                               ^
fs/xfs/./xfs_trace.h:806:19: note: in expansion of macro 'PUD_ORDER'
  806 | TRACE_DEFINE_ENUM(PUD_ORDER);
      |                   ^~~~~~~~~
include/linux/pgtable.h:9:25: note: (near initialization for '__TRACE_SYSTEM_PUD_ORDER.eval_value')
    9 | #define PUD_ORDER       (PUD_SHIFT - PAGE_SHIFT)
      |                         ^
include/trace/stages/init.h:20:31: note: in definition of macro 'TRACE_DEFINE_ENUM'
   20 |                 .eval_value = a                         \
      |                               ^
fs/xfs/./xfs_trace.h:806:19: note: in expansion of macro 'PUD_ORDER'
  806 | TRACE_DEFINE_ENUM(PUD_ORDER);
      |                   ^~~~~~~~~
fs/xfs/./xfs_trace.h: In function 'trace_raw_output_xfs_filemap_fault':
include/linux/pgtable.h:8:25: error: initializer element is not constant
    8 | #define PMD_ORDER       (PMD_SHIFT - PAGE_SHIFT)
      |                         ^
include/trace/trace_events.h:203:34: note: in definition of macro 'DECLARE_EVENT_CLASS'
  203 |         trace_event_printf(iter, print);                                \
      |                                  ^~~~~
include/trace/trace_events.h:45:30: note: in expansion of macro 'PARAMS'
   45 |                              PARAMS(print));                   \
      |                              ^~~~~~
fs/xfs/./xfs_trace.h:811:1: note: in expansion of macro 'TRACE_EVENT'
  811 | TRACE_EVENT(xfs_filemap_fault,
      | ^~~~~~~~~~~
fs/xfs/./xfs_trace.h:826:9: note: in expansion of macro 'TP_printk'
  826 |         TP_printk("dev %d:%d ino 0x%llx %s write_fault %d",
      |         ^~~~~~~~~
fs/xfs/./xfs_trace.h:829:19: note: in expansion of macro '__print_symbolic'
  829 |                   __print_symbolic(__entry->order,
      |                   ^~~~~~~~~~~~~~~~
fs/xfs/./xfs_trace.h:831:27: note: in expansion of macro 'PMD_ORDER'
  831 |                         { PMD_ORDER,    "PMD" },
      |                           ^~~~~~~~~
include/linux/pgtable.h:8:25: note: (near initialization for 'symbols[1].mask')
    8 | #define PMD_ORDER       (PMD_SHIFT - PAGE_SHIFT)
      |                         ^
include/trace/trace_events.h:203:34: note: in definition of macro 'DECLARE_EVENT_CLASS'
  203 |         trace_event_printf(iter, print);                                \
      |                                  ^~~~~
include/trace/trace_events.h:45:30: note: in expansion of macro 'PARAMS'
   45 |                              PARAMS(print));                   \
      |                              ^~~~~~
fs/xfs/./xfs_trace.h:811:1: note: in expansion of macro 'TRACE_EVENT'
  811 | TRACE_EVENT(xfs_filemap_fault,
      | ^~~~~~~~~~~
fs/xfs/./xfs_trace.h:826:9: note: in expansion of macro 'TP_printk'
  826 |         TP_printk("dev %d:%d ino 0x%llx %s write_fault %d",
      |         ^~~~~~~~~
fs/xfs/./xfs_trace.h:829:19: note: in expansion of macro '__print_symbolic'
  829 |                   __print_symbolic(__entry->order,
      |                   ^~~~~~~~~~~~~~~~
fs/xfs/./xfs_trace.h:831:27: note: in expansion of macro 'PMD_ORDER'
  831 |                         { PMD_ORDER,    "PMD" },
      |                           ^~~~~~~~~
include/linux/pgtable.h:9:25: error: initializer element is not constant
    9 | #define PUD_ORDER       (PUD_SHIFT - PAGE_SHIFT)
      |                         ^
include/trace/trace_events.h:203:34: note: in definition of macro 'DECLARE_EVENT_CLASS'
  203 |         trace_event_printf(iter, print);                                \
      |                                  ^~~~~
include/trace/trace_events.h:45:30: note: in expansion of macro 'PARAMS'
   45 |                              PARAMS(print));                   \
      |                              ^~~~~~
fs/xfs/./xfs_trace.h:811:1: note: in expansion of macro 'TRACE_EVENT'
  811 | TRACE_EVENT(xfs_filemap_fault,
      | ^~~~~~~~~~~
fs/xfs/./xfs_trace.h:826:9: note: in expansion of macro 'TP_printk'
  826 |         TP_printk("dev %d:%d ino 0x%llx %s write_fault %d",
      |         ^~~~~~~~~
fs/xfs/./xfs_trace.h:829:19: note: in expansion of macro '__print_symbolic'
  829 |                   __print_symbolic(__entry->order,
      |                   ^~~~~~~~~~~~~~~~
fs/xfs/./xfs_trace.h:832:27: note: in expansion of macro 'PUD_ORDER'
  832 |                         { PUD_ORDER,    "PUD" }),
      |                           ^~~~~~~~~
include/linux/pgtable.h:9:25: note: (near initialization for 'symbols[2].mask')
    9 | #define PUD_ORDER       (PUD_SHIFT - PAGE_SHIFT)
      |                         ^
include/trace/trace_events.h:203:34: note: in definition of macro 'DECLARE_EVENT_CLASS'
  203 |         trace_event_printf(iter, print);                                \
      |                                  ^~~~~
include/trace/trace_events.h:45:30: note: in expansion of macro 'PARAMS'
   45 |                              PARAMS(print));                   \
      |                              ^~~~~~
fs/xfs/./xfs_trace.h:811:1: note: in expansion of macro 'TRACE_EVENT'
  811 | TRACE_EVENT(xfs_filemap_fault,
      | ^~~~~~~~~~~
fs/xfs/./xfs_trace.h:826:9: note: in expansion of macro 'TP_printk'
  826 |         TP_printk("dev %d:%d ino 0x%llx %s write_fault %d",
      |         ^~~~~~~~~
fs/xfs/./xfs_trace.h:829:19: note: in expansion of macro '__print_symbolic'
  829 |                   __print_symbolic(__entry->order,
      |                   ^~~~~~~~~~~~~~~~
fs/xfs/./xfs_trace.h:832:27: note: in expansion of macro 'PUD_ORDER'
  832 |                         { PUD_ORDER,    "PUD" }),
      |                           ^~~~~~~~~

Caused by commit

  b8088235e872 ("mm: remove enum page_entry_size")

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ