summaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2025-03-18 15:12:03 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-15 18:22:39 +0200
commitf88c0c72ffb014e5eba676ee337c4eb3b1d6a119 (patch)
tree9123ba352bdab7e1db01b392874036d48319c6b8 /rust/helpers/helpers.c
parent00f1cc14da0f06d2897b8c528df7c7dcf1b8da50 (diff)
downloadlinux-f88c0c72ffb014e5eba676ee337c4eb3b1d6a119.tar.gz
linux-f88c0c72ffb014e5eba676ee337c4eb3b1d6a119.tar.bz2
linux-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 <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>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions