* [linux-next-20240626]Kernel Build Fails on repo linux-next-20240626
@ 2024-06-27 4:21 Venkat Rao Bagalkote
2024-06-27 9:33 ` Jocelyn Falempe
0 siblings, 1 reply; 2+ messages in thread
From: Venkat Rao Bagalkote @ 2024-06-27 4:21 UTC (permalink / raw)
To: jfalempe, akpm, naveen.n.rao, mpe; +Cc: linux-kernel
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-next-20240626]Kernel Build Fails on repo linux-next-20240626
2024-06-27 4:21 [linux-next-20240626]Kernel Build Fails on repo linux-next-20240626 Venkat Rao Bagalkote
@ 2024-06-27 9:33 ` Jocelyn Falempe
0 siblings, 0 replies; 2+ messages in thread
From: Jocelyn Falempe @ 2024-06-27 9:33 UTC (permalink / raw)
To: Venkat Rao Bagalkote, akpm, naveen.n.rao, mpe; +Cc: linux-kernel
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.
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-27 9:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-27 4:21 [linux-next-20240626]Kernel Build Fails on repo linux-next-20240626 Venkat Rao Bagalkote
2024-06-27 9:33 ` Jocelyn Falempe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®