Re: [PATCH v2] drm/i2c: tda9950: Constify struct i2c_device_id

2024-11-19 Thread Thomas Zimmermann
Am 15.11.24 um 18:17 schrieb Christophe JAILLET: 'struct i2c_device_id' is not modified in this driver. Constifying this structure moves some data to a read-only section, so increase overall security. On a x86_64, with allmodconfig: Before: == text data bss dec

[PATCH v2] drm/i2c: tda9950: Constify struct i2c_device_id

2024-11-15 Thread Christophe JAILLET
'struct i2c_device_id' is not modified in this driver. Constifying this structure moves some data to a read-only section, so increase overall security. On a x86_64, with allmodconfig: Before: == textdata bss dec hex filename 12136 822 0 12958329e drivers/g