]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: mhi_net: Update the transmit handler prototype
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Mon, 14 Jun 2021 21:03:25 +0000 (15:03 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Jun 2021 21:13:09 +0000 (14:13 -0700)
commit2214fb53006e6cfa6371b706070cb99794c68c3b
treef44a8c3a8dce3f2ee62ac630d2691f5166a5af41
parent45deacc731d73de7495e3004f7d8d92eb4c1d9eb
net: mhi_net: Update the transmit handler prototype

Update the function prototype of mhi_ndo_xmit to match
ndo_start_xmit. This otherwise leads to run time failures when
CFI is enabled in kernel.

Fixes: 3ffec6a14f24 ("net: Add mhi-net driver")
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mhi/net.c