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)
commitf86253f62a4aa3b8ddd55c1820a9a2f80c1088ed
tree36cbc047c0877dd70fbddbeb93e06a3c5316eda9
parentf70d4520ef6e4c74745c64000161b44ac16194be
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