The patch titled Subject: mm-consolidate-pgd_index-and-pgd_offset_k-definitions-fix has been removed from the -mm tree. Its filename was mm-consolidate-pgd_index-and-pgd_offset_k-definitions-fix.patch This patch was dropped because it was folded into mm-consolidate-pte_index-and-pte_offset_-definitions.patch ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-consolidate-pgd_index-and-pgd_offset_k-definitions-fix arch/x86/mm/pgtable.c: In function 'pgd_alloc': >> arch/x86/mm/pgtable.c:427:2: warning: variable length array 'u_pmds' is used [-Wvla] pmd_t *u_pmds[MAX_PREALLOCATED_USER_PMDS]; Reported-by: kbuild test robot <lkp@xxxxxxxxx> Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Cc: Mike Rapoport <rppt@xxxxxxxxxxxxx> Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/pgtable.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) --- a/include/linux/pgtable.h~mm-consolidate-pgd_index-and-pgd_offset_k-definitions-fix +++ a/include/linux/pgtable.h @@ -62,11 +62,8 @@ static inline unsigned long pud_index(un #endif #ifndef pgd_index -static inline unsigned long pgd_index(unsigned long address) -{ - return ((address >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)); -} -#define pgd_index pgd_index +/* Must be a compile-time constant, so implement it as a macro */ +#define pgd_index(a) (((a) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)) #endif #ifndef pte_offset_kernel _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-consolidate-pte_index-and-pte_offset_-definitions.patch mmap-locking-api-convert-mmap_sem-call-sites-missed-by-coccinelle-fix.patch mmap-locking-api-convert-mmap_sem-call-sites-missed-by-coccinelle-fix-fix.patch mmap-locking-api-convert-mmap_sem-call-sites-missed-by-coccinelle-fix-fix-fix.patch mmap-locking-api-rename-mmap_sem-to-mmap_lock-fix.patch mmap-locking-api-convert-mmap_sem-comments-fix.patch mmap-locking-api-convert-mmap_sem-comments-fix-fix.patch mmap-locking-api-convert-mmap_sem-comments-fix-fix-fix.patch maccess-unify-the-probe-kernel-arch-hooks-fix.patch bpf-bpf_seq_printf-handle-potentially-unsafe-format-string-better.patch maccess-always-use-strict-semantics-for-probe_kernel_read-fix.patch x86-use-non-set_fs-based-maccess-routines-checkpatch-fixes.patch drivers-tty-serial-sh-scic-suppress-uninitialized-var-warning.patch mm.patch lib-test-get_count_order-long-in-test_bitopsc-fix.patch lib-test-get_count_order-long-in-test_bitopsc-fix-fix.patch ipc-convert-ipcs_idr-to-xarray-update-fix.patch linux-next-git-rejects.patch mm-pass-task-and-mm-to-do_madvise.patch mm-introduce-external-memory-hinting-api-fix-2-fix.patch mm-support-vector-address-ranges-for-process_madvise-fix-fix-fix-fix-fix.patch kernel-forkc-export-kernel_thread-to-modules.patch