diff options
| author | Laurent Pinchart <[email protected]> | 2020-02-20 22:19:22 +0000 |
|---|---|---|
| committer | Laurent Pinchart <[email protected]> | 2021-01-05 05:20:35 +0000 |
| commit | b1dda997a8a98fcb98189e5f4ee3108bc3da3d21 (patch) | |
| tree | 3bfa36905d3e1c1a8f6b909fe8bcb726fe8da2ce /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm: Move legacy device list out of drm_driver (diff) | |
| download | kernel-b1dda997a8a98fcb98189e5f4ee3108bc3da3d21.tar.gz kernel-b1dda997a8a98fcb98189e5f4ee3108bc3da3d21.zip | |
drm: Use a const drm_driver for legacy PCI devices
Now that the legacy PCI support code doesn't need to write to the
drm_driver structure, it can be treated as const through the whole DRM
core, unconditionally. This allows declaring the structure as const in
all drivers, removing one possible attack vector.
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
