aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wwan/iosm/iosm_ipc_pcie.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2025-01-15 16:14:36 +0000
committerPaolo Abeni <[email protected]>2025-01-16 12:15:40 +0000
commita50da36562cd62b41de9bef08edbb3e8af00f118 (patch)
treeaa47a97312bb935661ec671f2379ea62751388e6 /drivers/net/wwan/iosm/iosm_ipc_pcie.c
parentMerge branch 'mlx5-misc-fixes-2025-01-15' (diff)
downloadkernel-a50da36562cd62b41de9bef08edbb3e8af00f118.tar.gz
kernel-a50da36562cd62b41de9bef08edbb3e8af00f118.zip
netdev: avoid CFI problems with sock priv helpers
Li Li reports that casting away callback type may cause issues for CFI. Let's generate a small wrapper for each callback, to make sure compiler sees the anticipated types. Reported-by: Li Li <[email protected]> Link: https://lore.kernel.org/CANBPYPjQVqmzZ4J=rVQX87a9iuwmaetULwbK_5_3YWk2eGzkaA@mail.gmail.com Fixes: 170aafe35cb9 ("netdev: support binding dma-buf to netdevice") Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Mina Almasry <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_pcie.c')
0 files changed, 0 insertions, 0 deletions