diff options
| author | Gustavo A. R. Silva <[email protected]> | 2022-02-07 23:39:23 +0000 |
|---|---|---|
| committer | Lyude Paul <[email protected]> | 2022-02-08 20:11:22 +0000 |
| commit | 2a3950c43e2ead47ed7456b04da5d4afde58c4b2 (patch) | |
| tree | dfe1d7a6e40b1935101e8e468aa5b74317e53b21 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | |
| parent | drm/ast: Move SIL164-based connector code into separate helpers (diff) | |
| download | kernel-2a3950c43e2ead47ed7456b04da5d4afde58c4b2.tar.gz kernel-2a3950c43e2ead47ed7456b04da5d4afde58c4b2.zip | |
nouveau/svm: Use struct_size() helper in nouveau_pfns_map()
Make use of the struct_size() helper instead of an open-coded version,
in order to avoid any potential type mistakes or integer overflows that,
in the worse scenario, could lead to heap overflows.
Link: https://github.com/KSPP/linux/issues/160
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Reviewed-by: Lyude Paul <[email protected]>
Signed-off-by: Lyude Paul <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20220207233923.GA524723@embeddedor
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions
