Hi Christophe, On Sat, Mar 29, 2025 at 03:37:07PM +0100, Christophe JAILLET wrote: > 'struct i2c_algorithm' is not modified in this driver. > > Constifying this structure moves some data to a read-only section, so > increase overall security, especially when the structure holds some > function pointers. > > On a x86_64, with allmodconfig, as an example: > Before: > ====== > text data bss dec hex filename > 11027 646 16 11689 2da9 drivers/i2c/busses/i2c-rzv2m.o > > After: > ===== > text data bss dec hex filename > 11107 566 16 11689 2da9 drivers/i2c/busses/i2c-rzv2m.o > > Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> merged to i2c/i2c-host. Thanks, Andi