Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: Fix net_devmem_bind_dmabuf for non-devmem configs

Fix the signature of the net_devmem_bind_dmabuf API for
CONFIG_NET_DEVMEM=n.

Fixes: bd61848900bf ("net: devmem: Implement TX path")
Signed-off-by: Pranjal Shrivastava <praan@google.com>
Link: https://patch.msgid.link/20250528211058.1826608-1-praan@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Pranjal Shrivastava and committed by
Jakub Kicinski
c1f4cb8a efdddc44

+2 -1
+2 -1
net/core/devmem.h
··· 170 170 } 171 171 172 172 static inline struct net_devmem_dmabuf_binding * 173 - net_devmem_bind_dmabuf(struct net_device *dev, unsigned int dmabuf_fd, 173 + net_devmem_bind_dmabuf(struct net_device *dev, 174 174 enum dma_data_direction direction, 175 + unsigned int dmabuf_fd, 175 176 struct netdev_nl_sock *priv, 176 177 struct netlink_ext_ack *extack) 177 178 {