diff mbox series

Regression Tracking: Build failure in Linux-next

Message ID SJ1PR11MB6129B119B2F096F711560DECB95DA@SJ1PR11MB6129.namprd11.prod.outlook.com (mailing list archive)
State New, archived
Headers show
Series Regression Tracking: Build failure in Linux-next | expand

Commit Message

Chaitanya Kumar Borah June 21, 2023, 7:23 a.m. UTC
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 arnd@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 arnd@arndb.de
    Acked-by: Dave Hansen dave.hansen@linux.intel.com # for arch/x86
    Acked-by: Helge Deller deller@gmx.de # parisc
    Reviewed-by: Alexander Gordeev agordeev@linux.ibm.com
    Message-Id: 20230516195834.551901-1-arnd@kernel.org
    Signed-off-by: Christian Brauner brauner@kernel.org

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

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
diff mbox series

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.