lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <32f20573-7e3b-496a-8c02-9234d410113e@linux.vnet.ibm.com>
Date: Thu, 27 Jun 2024 09:51:51 +0530
From: Venkat Rao Bagalkote <venkat88@...ux.vnet.ibm.com>
To: jfalempe@...hat.com, akpm@...ux-foundation.org, naveen.n.rao@...ux.ibm.com,
        mpe@...erman.id.au
Cc: linux-kernel@...r.kernel.org
Subject: [linux-next-20240626]Kernel Build Fails on repo linux-next-20240626

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

Powered by Openwall GNU/*/Linux Powered by OpenVZ