[PATCH 0/5] drivers/char: Constify static variables

Arnd Bergmann arnd at arndb.de
Thu Jul 2 04:58:14 EDT 2020


On Wed, Jul 1, 2020 at 11:48 PM Rikard Falkeborn
<rikard.falkeborn at gmail.com> wrote:
>
> Constify some static variables (mostly structs) that are not modified.
>
> Rikard Falkeborn (5):
>   hwrng: bcm2835 - Constify bcm2835_rng_devtype[]
>   hwrng: nomadik - Constify nmk_rng_ids[]
>   hwrng: virtio - Constify id_table[]
>   ipmi: watchdog: Constify ident
>   virtio_console: Constify some static variables

I just realized it was a series rather than a single patch I received. They
all look correct, so

Acked-by: Arnd Bergmann <arnd at arndb.de>

but if you do more of those, I would suggest not including the 'size'
output for the small variables as that is not the main point here.



More information about the linux-arm-kernel mailing list