Re: [PATCH] drm/bridge: Constify struct i2c_device_id

2024-11-20 Thread Doug Anderson
Hi, On Tue, Nov 12, 2024 at 1:12 PM Christophe JAILLET wrote: > > 'struct i2c_device_id' is not modified in these drivers. > > Constifying this structure moves some data to a read-only section, so > increase overall security. > > On a x86_64, with allmodconfig, as an example: > Before: > == >

Re: [PATCH] drm/bridge: Constify struct i2c_device_id

2024-11-14 Thread Laurent Pinchart
Hi Christophe, On Wed, Nov 13, 2024 at 10:19:24PM +0100, Christophe JAILLET wrote: > Le 12/11/2024 à 23:43, Laurent Pinchart a écrit : > > On Tue, Nov 12, 2024 at 10:12:25PM +0100, Christophe JAILLET wrote: > >> 'struct i2c_device_id' is not modified in these drivers. > >> > >> Constifying this st

Re: [PATCH] drm/bridge: Constify struct i2c_device_id

2024-11-13 Thread Christophe JAILLET
Le 12/11/2024 à 23:43, Laurent Pinchart a écrit : Hi Christophe, Thank you for the patch. On Tue, Nov 12, 2024 at 10:12:25PM +0100, Christophe JAILLET wrote: 'struct i2c_device_id' is not modified in these drivers. Constifying this structure moves some data to a read-only section, so increase

Re: [PATCH] drm/bridge: Constify struct i2c_device_id

2024-11-12 Thread Laurent Pinchart
Hi Christophe, Thank you for the patch. On Tue, Nov 12, 2024 at 10:12:25PM +0100, Christophe JAILLET wrote: > 'struct i2c_device_id' is not modified in these drivers. > > Constifying this structure moves some data to a read-only section, so > increase overall security. > > On a x86_64, with all

Re: [PATCH] drm/bridge: Constify struct i2c_device_id

2024-11-12 Thread Doug Anderson
Hi, On Tue, Nov 12, 2024 at 1:12 PM Christophe JAILLET wrote: > > 'struct i2c_device_id' is not modified in these drivers. > > Constifying this structure moves some data to a read-only section, so > increase overall security. > > On a x86_64, with allmodconfig, as an example: > Before: > == >

[PATCH] drm/bridge: Constify struct i2c_device_id

2024-11-12 Thread Christophe JAILLET
'struct i2c_device_id' is not modified in these drivers. Constifying this structure moves some data to a read-only section, so increase overall security. On a x86_64, with allmodconfig, as an example: Before: == textdata bss dec hex filename 15566 987 32 16585