On Tue, Aug 06, 2024 at 03:43:00PM +0200, Christophe JAILLET wrote: > 'struct reg_sequence' and 'struct reg_sequences' are not modified in this > drivers. > > Constifying these structures moves some data to a read-only section, so > increase overall security. > > On a x86_64, with allmodconfig: > Before: > ====== > text data bss dec hex filename > 54409 7881 64 62354 f392 sound/soc/codecs/cs43130.o > > After: > ===== > text data bss dec hex filename > 55562 6729 64 62355 f393 sound/soc/codecs/cs43130.o > > Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> > --- Reviewed-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx> Thanks, Charles