[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <fa16b034-5511-4db7-aa83-9ece8bc07c89@redhat.com>
Date: Thu, 27 Jun 2024 11:33:50 +0200
From: Jocelyn Falempe <jfalempe@...hat.com>
To: Venkat Rao Bagalkote <venkat88@...ux.vnet.ibm.com>,
akpm@...ux-foundation.org, naveen.n.rao@...ux.ibm.com, mpe@...erman.id.au
Cc: linux-kernel@...r.kernel.org
Subject: Re: [linux-next-20240626]Kernel Build Fails on repo
linux-next-20240626
Hi,
I think this patch was merged by mistake, as it was not yet reviewed.
can someone revert it ?
--
Jocelyn
On 27/06/2024 06:21, Venkat Rao Bagalkote wrote:
> Greetings!!!
>
>
> Kernel Build fails with below error, while building with
> linux-next(next-20240626) repo.
>
>
> arch/powerpc/kernel/nvram_64.c:79:17: error: initialization of ‘void
> (*)(struct kmsg_dumper *, enum kmsg_dump_reason, const char *)’ from
> incompatible pointer type ‘void (*)(struct kmsg_dumper *, enum
> kmsg_dump_reason)’ [-Werror=incompatible-pointer-types]
> 79 | .dump = oops_to_nvram
> | ^~~~~~~~~~~~~
> arch/powerpc/kernel/nvram_64.c:79:17: note: (near initialization for
> ‘nvram_kmsg_dumper.dump’)
> arch/powerpc/kernel/nvram_64.c:645:13: error: conflicting types for
> ‘oops_to_nvram’; have ‘void(struct kmsg_dumper *, enum
> kmsg_dump_reason, const char *)’
> 645 | static void oops_to_nvram(struct kmsg_dumper *dumper,
> | ^~~~~~~~~~~~~
> arch/powerpc/kernel/nvram_64.c:75:13: note: previous declaration of
> ‘oops_to_nvram’ with type ‘void(struct kmsg_dumper *, enum
> kmsg_dump_reason)’
> 75 | static void oops_to_nvram(struct kmsg_dumper *dumper,
> | ^~~~~~~~~~~~~
> arch/powerpc/kernel/nvram_64.c:75:13: error: ‘oops_to_nvram’ used but
> never defined [-Werror]
> arch/powerpc/kernel/nvram_64.c:645:13: error: ‘oops_to_nvram’ defined
> but not used [-Werror=unused-function]
> 645 | static void oops_to_nvram(struct kmsg_dumper *dumper,
> | ^~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[4]: *** [scripts/Makefile.build:244:
> arch/powerpc/kernel/nvram_64.o] Error 1
> make[4]: *** Waiting for unfinished jobs....
> make[3]: *** [scripts/Makefile.build:485: arch/powerpc/kernel] Error 2
>
> make[2]: *** [scripts/Makefile.build:485: arch/powerpc] Error 2
>
>
> This issue has been introduced with the below commit.
>
>
> Commit ID: 7e72bb7504d1192ab89809f6192dba1b06f4fa51.
>
>
> Regards,
>
> Venkat.
>
Powered by blists - more mailing lists