]> git.baikalelectronics.ru Git - kernel.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)
commite88bee3783229481bca3a72b0832c9b0ea01eabc
treef44a8c3a8dce3f2ee62ac630d2691f5166a5af41
parent7309377267ca0c2241f68a7b124540830681d4e8
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: 80ec2d9ae592 ("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