diff options
| author | Christophe JAILLET <[email protected]> | 2024-11-15 17:26:06 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-11-20 15:03:05 +0000 |
| commit | c3e3c1aac0bf25e0f3f9b1557766fc9b89fb318b (patch) | |
| tree | b527548885976c7103d41cab02be9e0295fc80c4 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
| parent | drm/amdgpu: Use reset recovery state checks (diff) | |
| download | kernel-c3e3c1aac0bf25e0f3f9b1557766fc9b89fb318b.tar.gz kernel-c3e3c1aac0bf25e0f3f9b1557766fc9b89fb318b.zip | |
drm/radeon: Constify struct pci_device_id
'struct pci_device_id' is not modified in this driver.
Constifying this structure moves some data to a read-only section, so
increase overall security.
On a x86_64, with allmodconfig:
Before:
======
text data bss dec hex filename
11984 28672 44 40700 9efc drivers/gpu/drm/radeon/radeon_drv.o
After:
=====
text data bss dec hex filename
40000 664 44 40708 9f04 drivers/gpu/drm/radeon/radeon_drv.o
Acked-by: Christian König <[email protected]>
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions
