usbnet:Solve the CFI warning message
authora17671 <a17671@motorola.com>
Wed, 26 Dec 2018 08:13:03 +0000 (16:13 +0800)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:30:29 +0000 (17:30 +0800)
commitb2bed32016a23465b5816e52094b93570c0094b6
tree36cbc047c0877dd70fbddbeb93e06a3c5316eda9
parent83233c295ebdf20bafd0b53324b881bec36a16e2
usbnet:Solve the CFI warning message

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
drivers/usb/gadget/function/f_usbnet.c