[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACPK8XdiSa6ry6WmxoELT-t8kHD2BgZQhiDcS4_dmGHQBLiBMA@mail.gmail.com>
Date: Wed, 5 Aug 2020 23:56:15 +0000
From: Joel Stanley <joel@....id.au>
To: Rikard Falkeborn <rikard.falkeborn@...il.com>
Cc: linux-fsi@...ts.ozlabs.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Jeremy Kerr <jk@...abs.org>,
Alistair Popple <alistair@...ple.id.au>,
Eddie James <eajames@...ux.ibm.com>
Subject: Re: [PATCH 0/3] fsi: Constify fsi_device_ids
On Wed, 5 Aug 2020 at 23:27, Rikard Falkeborn
<rikard.falkeborn@...il.com> wrote:
>
> fsi_device_id is never modified (and it's a const pointer in the
> fsi_driver struct), so make the static variables const to allow the
> compiler to put them in read-only memory.
Thanks, I have applied these to the fsi next tree.
Cheers,
Joel
>
> Rikard Falkeborn (3):
> fsi: master: Constify hub_master_ids
> fsi: sbefifo: Constify sbefifo_ids
> fsi: scom: Constify scom_ids
>
> drivers/fsi/fsi-master-hub.c | 2 +-
> drivers/fsi/fsi-sbefifo.c | 2 +-
> drivers/fsi/fsi-scom.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> --
> 2.28.0
>
Powered by blists - more mailing lists