summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-12-07 01:25:42 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-12-10 23:26:33 +0300
commit93b216cb312dcaee19de19efab6025481e5df4ae (patch)
tree8d35b7e1d0edf5cc0fc4fa1a24c536084b2f8f3c /tools/perf/scripts/python/export-to-postgresql.py
parente4ee5c3c43ea25e9dae0ca548eeedcd178ff04e6 (diff)
downloadlinux-93b216cb312dcaee19de19efab6025481e5df4ae.tar.xz
auxdisplay: img-ascii-lcd: Constify struct img_ascii_lcd_config
'struct img_ascii_lcd_config' 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: Before: ====== text data bss dec hex filename 6110 728 0 6838 1ab6 drivers/auxdisplay/img-ascii-lcd.o After: ===== text data bss dec hex filename 6198 632 0 6830 1aae drivers/auxdisplay/img-ascii-lcd.o Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions