diff options
| author | Hans de Goede <[email protected]> | 2025-03-18 14:12:03 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-04-15 16:22:39 +0000 |
| commit | f88c0c72ffb014e5eba676ee337c4eb3b1d6a119 (patch) | |
| tree | 9123ba352bdab7e1db01b392874036d48319c6b8 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | mei: vsc: Fix fortify-panic caused by invalid counted_by() use (diff) | |
| download | kernel-f88c0c72ffb014e5eba676ee337c4eb3b1d6a119.tar.gz kernel-f88c0c72ffb014e5eba676ee337c4eb3b1d6a119.zip | |
mei: vsc: Use struct vsc_tp_packet as vsc-tp tx_buf and rx_buf type
vsc_tp.tx_buf and vsc_tp.rx_buf point to a struct vsc_tp_packet, use
the correct type instead of "void *" and use sizeof(*ptr) when allocating
memory for these buffers.
Signed-off-by: Hans de Goede <[email protected]>
Reviewed-by: Alexander Usyskin <[email protected]>
Reviewed-by: Sakari Ailus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
