Message ID | 1623704605-22913-1-git-send-email-subashab@codeaurora.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 2214fb53006e6cfa6371b706070cb99794c68c3b |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net] net: mhi_net: Update the transmit handler prototype | expand |
Context | Check | Description |
---|---|---|
netdev/cover_letter | success | Link |
netdev/fixes_present | success | Link |
netdev/patch_count | success | Link |
netdev/tree_selection | success | Clearly marked for net |
netdev/subject_prefix | success | Link |
netdev/cc_maintainers | fail | 1 blamed authors not CCed: mani@kernel.org; 3 maintainers not CCed: mani@kernel.org jesse.brandeburg@intel.com yangyingliang@huawei.com |
netdev/source_inline | success | Was 0 now: 0 |
netdev/verify_signedoff | success | Link |
netdev/module_param | success | Was 0 now: 0 |
netdev/build_32bit | success | Errors and warnings before: 0 this patch: 0 |
netdev/kdoc | success | Errors and warnings before: 0 this patch: 0 |
netdev/verify_fixes | success | Link |
netdev/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 8 lines checked |
netdev/build_allmodconfig_warn | success | Errors and warnings before: 0 this patch: 0 |
netdev/header_inline | success | Link |
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Mon, 14 Jun 2021 15:03:25 -0600 you wrote: > 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> > > [...] Here is the summary with links: - [net] net: mhi_net: Update the transmit handler prototype https://git.kernel.org/netdev/net/c/2214fb53006e You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
diff --git a/drivers/net/mhi/net.c b/drivers/net/mhi/net.c index 64af1e5..bbbbf6c 100644 --- a/drivers/net/mhi/net.c +++ b/drivers/net/mhi/net.c @@ -56,7 +56,7 @@ static int mhi_ndo_stop(struct net_device *ndev) return 0; } -static int mhi_ndo_xmit(struct sk_buff *skb, struct net_device *ndev) +static netdev_tx_t mhi_ndo_xmit(struct sk_buff *skb, struct net_device *ndev) { struct mhi_net_dev *mhi_netdev = netdev_priv(ndev); const struct mhi_net_proto *proto = mhi_netdev->proto;
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> --- drivers/net/mhi/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)