[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210512082404.GF64205@ediswmail.ad.cirrus.com>
Date: Wed, 12 May 2021 08:24:04 +0000
From: Charles Keepax <ckeepax@...nsource.cirrus.com>
To: Simon Trimmer <simont@...nsource.cirrus.com>
CC: <broonie@...nel.org>, <patches@...nsource.cirrus.com>,
<alsa-devel@...a-project.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ASoC: wm_adsp: mark more data structures with the const
qualifier
On Tue, May 11, 2021 at 06:14:59PM +0100, Simon Trimmer wrote:
> The callback structures and memory region type table can be marked as
> const as they will not change during use.
>
> Fix checkpatch warning against wm_adsp_find_region function by moving
> const keyword to form the 'static const struct' pattern.
>
> Signed-off-by: Simon Trimmer <simont@...nsource.cirrus.com>
> ---
Acked-by: Charles Keepax <ckeepax@...nsource.cirrus.com>
Thanks,
Charles
Powered by blists - more mailing lists