OSDN Git Service

net: usbnet: Fix -Wcast-function-type
authorPhong Tran <tranmanphong@gmail.com>
Tue, 26 Nov 2019 13:54:13 +0000 (20:54 +0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Nov 2019 22:03:58 +0000 (14:03 -0800)
commit2eb1d3f4bcae6c83943214ccb26968a48360db06
tree3a4610f2dfa6dab9a37c5222bf206230f8cce0a9
parent1d4a09dadbb9ea7baaf6be897d69020c729e7440
net: usbnet: Fix -Wcast-function-type

correct usage prototype of callback in tasklet_init().
Report by https://github.com/KSPP/linux/issues/20

Signed-off-by: Phong Tran <tranmanphong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/usbnet.c