Re: [PATCH v1] ALSA: aoa: Constify struct configfs_item_operations and configfs_group_operations
From: Johannes Berg
Date: Thu Feb 26 2026 - 15:47:51 EST
On Thu, 2026-02-26 at 21:43 +0100, Christophe JAILLET wrote:
> 'struct codec_connection' are not modified in this driver.
>
> Constifying these structures moves some data to a read-only section, so
> increases overall security.
>
The security claim seems like a stretch for this data, but I guess since
it's never modified making it const makes some sense.
johannes