Skip to content

Commit b8d2972

Browse files
pran005NipaLocal
authored and
NipaLocal
committed
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: bd61848 ("net: devmem: Implement TX path") Signed-off-by: Pranjal Shrivastava <[email protected]> Signed-off-by: NipaLocal <nipa@local>
1 parent b8ad440 commit b8d2972

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

net/core/devmem.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,9 @@ static inline void __net_devmem_dmabuf_binding_free(struct work_struct *wq)
170170
}
171171

172172
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,
174174
enum dma_data_direction direction,
175+
unsigned int dmabuf_fd,
175176
struct netdev_nl_sock *priv,
176177
struct netlink_ext_ack *extack)
177178
{

0 commit comments

Comments
 (0)