Messages in this thread | | | From | Geert Uytterhoeven <> | Date | Mon, 30 Jan 2023 17:23:56 +0100 | Subject | Re: linux-next: build failure after merge of the driver-core tree |
| |
Hi Greg,
On Mon, Jan 30, 2023 at 5:08 PM Greg KH <greg@kroah.com> wrote: > On Mon, Jan 30, 2023 at 03:28:18PM +1100, Stephen Rothwell wrote: > > After merging the driver-core tree, today's linux-next build (powerpc > > ppc64_defconfig) failed like this: > > > > arch/powerpc/platforms/ps3/system-bus.c:472:19: error: initialization of 'int (*)(const struct device *, struct kobj_uevent_env *)' from incompatible pointer type 'int (*)(struct device *, struct kobj_uevent_env *)' [-Werror=incompatible-pointer-types] > > 472 | .uevent = ps3_system_bus_uevent, > > | ^~~~~~~~~~~~~~~~~~~~~ > > arch/powerpc/platforms/ps3/system-bus.c:472:19: note: (near initialization for 'ps3_system_bus_type.uevent') > > arch/powerpc/platforms/pseries/ibmebus.c:436:22: error: initialization of 'int (*)(const struct device *, struct kobj_uevent_env *)' from incompatible pointer type 'int (*)(struct device *, struct kobj_uevent_env *)' [-Werror=incompatible-pointer-types] > > 436 | .uevent = ibmebus_bus_modalias, > > | ^~~~~~~~~~~~~~~~~~~~ > > arch/powerpc/platforms/pseries/ibmebus.c:436:22: note: (near initialization for 'ibmebus_bus_type.uevent') > > > > Caused by commit > > > > 2a81ada32f0e ("driver core: make struct bus_type.uevent() take a const *") > > Ick, 0-day didn't catch this, which is odd, it must not build those > arches :(
It does, but the bot seems to have some issues, as I didn't receive any reports for a few days. Last report of a ps3_defconfig build is 5 days old...
etje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
| |