Hello all,

Since version next-20230613[1], we have observed build failures in the 
linux-next tree [2]

We have bisected the issue to the following patch[3].

commit ef104443bffa004f631729dfc924f0b84abbd602
Author: Arnd Bergmann a...@arndb.de
Date:   Tue May 16 21:57:29 2023 +0200

    procfs: consolidate arch_report_meminfo declaration

    The arch_report_meminfo() function is provided by four architectures,
    with a __weak fallback in procfs itself. On architectures that don't
    have a custom version, the __weak version causes a warning because
    of the missing prototype.

    Remove the architecture specific prototypes and instead add one
    in linux/proc_fs.h.

    Signed-off-by: Arnd Bergmann a...@arndb.de
    Acked-by: Dave Hansen dave.han...@linux.intel.com # for arch/x86
    Acked-by: Helge Deller del...@gmx.de # parisc
    Reviewed-by: Alexander Gordeev agord...@linux.ibm.com
    Message-Id: 20230516195834.551901-1-a...@kernel.org
    Signed-off-by: Christian Brauner brau...@kernel.org

The issue is particularly because of this change within the patch.

diff --git a/arch/x86/include/asm/pgtable_types.h 
b/arch/x86/include/asm/pgtable_types.h
index 447d4bee25c4..ba3e2554799a 100644
--- a/arch/x86/include/asm/pgtable_types.h
+++ b/arch/x86/include/asm/pgtable_types.h
@@ -513,9 +513,6 @@ extern void native_pagetable_init(void);
#define native_pagetable_init        paging_init
#endif

-struct seq_file;
-extern void arch_report_meminfo(struct seq_file *m);
-

Adding the declaration struct seq_file in intel_display_power.h or to 
explicitly add the header file seq_file.h to the file helps in solving the 
issue.

Suggestions are welcome.


[1] 
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20230613
[2] http://gfx-ci.igk.intel.com/archive/deploy/next-20230613/build_failure.log
[3] 
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=ef104443bffa004f631729dfc924f0b84abbd602

Reply via email to