Stephen Rothwell
b7810ea80f
driver core: fixup for "driver core: make struct bus_type.uevent() take a const *"
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')
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 2a81ada32f ("driver core: make struct bus_type.uevent() take a const *")
Link: https://lore.kernel.org/r/20230130152818.03c00ea3@canb.auug.org.au
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-30 17:02:03 +01:00
..
2023-01-15 07:09:41 -06:00
2022-12-16 03:22:53 -08:00
2022-11-18 02:15:15 +01:00
2023-01-30 17:02:03 +01:00
2023-01-06 00:25:12 +11:00
2022-12-19 07:13:33 -06:00
2022-12-19 07:13:33 -06:00
2022-12-16 23:59:43 +11:00
2022-09-08 11:11:18 +10:00
2023-01-12 10:53:37 +11:00
2022-11-24 23:05:10 +11:00
2023-01-11 18:29:09 +11:00
2023-01-30 17:02:03 +01:00
2022-07-27 21:36:03 +10:00
2022-12-19 07:13:33 -06:00
2022-03-09 21:47:53 +11:00
2022-12-02 17:54:08 +11:00
2022-12-08 23:57:47 +11:00
2022-09-28 19:22:09 +10:00
2022-10-10 12:00:45 -07:00