Message ID | 20200701200950.30314-1-rikard.falkeborn@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | drivers/char: Constify static variables | expand |
On Wed, Jul 1, 2020 at 11:48 PM Rikard Falkeborn <rikard.falkeborn@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@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.
On Wed, Jul 01, 2020 at 10:09:45PM +0200, Rikard Falkeborn 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 > > drivers/char/hw_random/bcm2835-rng.c | 2 +- > drivers/char/hw_random/nomadik-rng.c | 2 +- > drivers/char/hw_random/virtio-rng.c | 2 +- > drivers/char/ipmi/ipmi_watchdog.c | 2 +- > drivers/char/virtio_console.c | 8 ++++---- > 5 files changed, 8 insertions(+), 8 deletions(-) Patches 1-3 applied. Thanks.