mirror of
https://github.com/torvalds/linux.git
synced 2026-03-14 00:56:20 +01:00
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: bd61848900 ("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>
This commit is contained in:
parent
efdddc4484
commit
c1f4cb8a8d
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue