diff options
author | Hans de Goede <hdegoede@redhat.com> | 2025-03-18 15:12:03 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-05-29 11:01:58 +0200 |
commit | a8dd6b7b391d9b33ea42b06b0621381ae9e320d3 (patch) | |
tree | 8935d1719481cede3ebcde1229e58660f77facfd /kernel/vhost_task.c | |
parent | de8c0b93a63cf8eb3dbd234617cdc1daef951843 (diff) |
mei: vsc: Use struct vsc_tp_packet as vsc-tp tx_buf and rx_buf type
[ Upstream commit f88c0c72ffb014e5eba676ee337c4eb3b1d6a119 ]
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 <hdegoede@redhat.com>
Reviewed-by: Alexander Usyskin <alexander.usyskin@intel.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Link: https://lore.kernel.org/r/20250318141203.94342-3-hdegoede@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/vhost_task.c')
0 files changed, 0 insertions, 0 deletions