Re: [PATCH v1 7/8] scsi: zorro7xx: Make use of struct zorro_device_id::driver_data_ptr
Geert Uytterhoeven <[email protected]>
| Newsgroups | org.kernel.vger.linux-m68k,org.kernel.vger.linux-kernel,org.kernel.vger.linux-scsi |
|---|---|
| Message-ID | <CAMuHMdW=8CinkPvBzY1JXJcy_7BGzS=t=T739sDbbJsFoiiW2w@mail.gmail.com> |
On Tue, 26 May 2026 at 16:18, Uwe Kleine-König (The Capable Hub) <[email protected]> wrote: > Usage of .driver_data_ptr allows to drop several casts. A nice upside of > that is that now the constness of the linked structures is kept and the > compiler warns about zdd missing a const. So add this missing const, too. > > While touching the zorro_device_id array, drop an unneeded explicit zero > in the list terminator. > > Signed-off-by: Uwe Kleine-König (The Capable Hub) <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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