diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-10-13 13:48:01 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2024-10-15 10:07:32 +0200 |
commit | 161e95b899a624b877c13a83e4cc720aa56514b4 (patch) | |
tree | 1067014569bf4b43a7a46c774d58b3c29dc102ba /CREDITS | |
parent | 57e755d333d1465c1cbf31d28245d429e1015beb (diff) |
fbdev: Constify struct sbus_mmap_map
'struct sbus_mmap_map' are not modified in these drivers.
Constifying this structure moves some data to a read-only section, so
increases overall security.
Update sbusfb_mmap_helper() accordingly.
On a x86_64, with allmodconfig, as an example:
Before:
======
text data bss dec hex filename
2452 536 16 3004 bbc drivers/video/fbdev/bw2.o
After:
=====
text data bss dec hex filename
2500 483 16 2999 bb7 drivers/video/fbdev/bw2.o
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions