diff options
author | 2025-05-28 21:10:58 +0000 | |
---|---|---|
committer | 2025-05-30 19:23:36 -0700 | |
commit | c1f4cb8a8d48db5c8396e1976c5b2e7922d944b9 (patch) | |
tree | c285cfbe4bdc83f4c485337822a23507b7b7ddd0 /net | |
parent | net: dsa: tag_brcm: legacy: fix pskb_may_pull length (diff) | |
download | wireguard-linux-c1f4cb8a8d48db5c8396e1976c5b2e7922d944b9.tar.xz wireguard-linux-c1f4cb8a8d48db5c8396e1976c5b2e7922d944b9.zip |
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/devmem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/core/devmem.h b/net/core/devmem.h index e7ba77050b8f..0a3b28ba5c13 100644 --- a/net/core/devmem.h +++ b/net/core/devmem.h @@ -170,8 +170,9 @@ static inline void __net_devmem_dmabuf_binding_free(struct work_struct *wq) } static inline struct net_devmem_dmabuf_binding * -net_devmem_bind_dmabuf(struct net_device *dev, unsigned int dmabuf_fd, +net_devmem_bind_dmabuf(struct net_device *dev, enum dma_data_direction direction, + unsigned int dmabuf_fd, struct netdev_nl_sock *priv, struct netlink_ext_ack *extack) { |