Re: [PATCH] zorro: make match function take a const pointer

From: Geert Uytterhoeven
Date: Wed Jul 10 2024 - 03:52:00 EST


On Wed, Jul 10, 2024 at 9:34 AM Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> In commit d69d80484598 ("driver core: have match() callback in struct bus_type
> take a const *"), the match callback for busses was changed to take a const
> pointer to struct device_driver. Unfortunatly I missed fixing up the zorro

Unfortunately

> code, and was only noticed after-the-fact by the kernel test robot. Resolve
> this issue by properly changing the zorro_bus_match() function.
>
> Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Fixes: d69d80484598 ("driver core: have match() callback in struct bus_type take a const *")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

Reviewed-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Acked-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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