After CFI feature integrated into the Android Kernel
Motorola USBLAN driver will generate warning/panic
Due to the mismatch of the return type
Change-Id: Ia9d1d78a03c542426d213fdb69274eca817e2ae2
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1287119
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
return req;
}
-static int usb_ether_xmit(struct sk_buff *skb, struct net_device *dev)
+static netdev_tx_t usb_ether_xmit(struct sk_buff *skb, struct net_device *dev)
{
struct usbnet_context *context = netdev_priv(dev);
struct usb_request *req;