Hi, On Tue, Nov 12, 2024 at 1:12 PM Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> 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: > ====== > text data bss dec hex filename > 15566 987 32 16585 40c9 drivers/gpu/drm/bridge/chipone-icn6211.o > > After: > ===== > text data bss dec hex filename > 15630 923 32 16585 40c9 drivers/gpu/drm/bridge/chipone-icn6211.o > > Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> > --- > Compile tested-only. > --- > drivers/gpu/drm/bridge/chipone-icn6211.c | 2 +- > drivers/gpu/drm/bridge/lontium-lt9211.c | 2 +- > drivers/gpu/drm/bridge/lontium-lt9611.c | 2 +- > drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 2 +- > drivers/gpu/drm/bridge/ti-sn65dsi83.c | 2 +- > drivers/gpu/drm/bridge/ti-sn65dsi86.c | 2 +- > 6 files changed, 6 insertions(+), 6 deletions(-) Acked-by: Douglas Anderson <dianders@xxxxxxxxxxxx>