diff options
author | Riyan Dhiman <riyandhiman14@gmail.com> | 2024-08-31 19:08:31 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-09-03 11:34:51 +0300 |
commit | ae26a4cc10e8a736c995eba3997a9f4edcd2d76e (patch) | |
tree | cbde1a4c57c82fe7370930f821eea9cf011f758d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f48404522f03a9bc3365225f81ca079a35cf50b9 (diff) | |
download | linux-ae26a4cc10e8a736c995eba3997a9f4edcd2d76e.tar.xz |
staging: rtl8192e: Constify struct pci_device_id
static variable struct pci_device_id rtl8192_pci_id_tbl is not modified
in file rtl_core.c.
Constifying this structure moves some data to a read-only section, so
increase overall security.
Before
======
text data bss dec hex filename
17838 893 1 18732 492c drivers/staging/rtl8192e/rtl8192e/rtl_core.o
After
=====
text data bss dec hex filename
18006 725 1 18732 492c drivers/staging/rtl8192e/rtl8192e/rtl_core.o
Signed-off-by: Riyan Dhiman <riyandhiman14@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20240831160831.121720-1-riyandhiman14@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions