[PATCH v1] ALSA: aoa: Constify struct configfs_item_operations and configfs_group_operations
Johannes Berg
johannes at sipsolutions.net
Fri Feb 27 07:47:38 AEDT 2026
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
More information about the Linuxppc-dev
mailing list