usbnet:Solve the CFI warning message
authora17671 <a17671@motorola.com>
Wed, 26 Dec 2018 08:13:03 +0000 (16:13 +0800)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:52 +0000 (20:23 +0300)
commitd13db2d8c03937764d9171b883f935b414802f6d
tree4988953092907efb16d384195c14f3625416892e
parent4a05b818843ccc2b80d9a1156cc06fb71fc53cdb
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