4.19.112
/home/popravki/twrp/kernel/msm-4.19/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c:125:20: error: no member named 'rmnet_dev' in 'struct rmnet_port'
rmnet_dev = port->rmnet_dev;
~~~~ ^
/home/popravki/twrp/kernel/msm-4.19/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c:190:8: error: no member named 'rmnet_dev' in 'struct rmnet_port'
port->rmnet_dev = dev;
~~~~ ^
/home/popravki/twrp/kernel/msm-4.19/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c:249:32: error: use of undeclared identifier 'port'
rmnet_unregister_bridge(dev, port);
^
/home/popravki/twrp/kernel/msm-4.19/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c:250:29: error: use of undeclared identifier 'port'; did you mean 'for'?
rmnet_vnd_dellink(mux_id, port, ep);
^~~~
for
/home/popravki/twrp/kernel/msm-4.19/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c:250:29: error: expected expression
/home/popravki/twrp/kernel/msm-4.19/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c:255:7: error: use of undeclared identifier 'port'; did you mean 'for'?
if (!port->nr_rmnet_devs)
^~~~
for
/home/popravki/twrp/kernel/msm-4.19/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c:255:7: error: expected expression
/home/popravki/twrp/kernel/msm-4.19/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c:256:22: error: use of undeclared identifier 'port'; did you mean 'for'?
qmi_rmnet_qmi_exit(port->qmi_info, port);
^~~~
for
/home/popravki/twrp/kernel/msm-4.19/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c:256:22: error: expected expression
/home/popravki/twrp/kernel/msm-4.19/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c:256:38: error: use of undeclared identifier 'port'; did you mean 'ror8'?
qmi_rmnet_qmi_exit(port->qmi_info, port);
^~~~
ror8
/home/popravki/twrp/kernel/msm-4.19/include/linux/bitops.h:131:20: note: 'ror8' declared here
static inline __u8 ror8(__u8 word, unsigned int shift)
^
/home/popravki/twrp/kernel/msm-4.19/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c:262:41: error: use of undeclared identifier 'port'
rmnet_unregister_real_device(real_dev, port);
^
/home/popravki/twrp/kernel/msm-4.19/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c:276:29: error: use of undeclared identifier 'dev'
port = rmnet_get_port_rtnl(dev);
^
/home/popravki/twrp/kernel/msm-4.19/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c:279:36: error: too many arguments to function call, expected single argument 'port', have 2 arguments
rmnet_unregister_bridge(real_dev, port);
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/home/popravki/twrp/kernel/msm-4.19/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c:117:1: note: 'rmnet_unregister_bridge' declared here
static void rmnet_unregister_bridge(struct rmnet_port *port)
^
/home/popravki/twrp/kernel/msm-4.19/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c:303:41: error: too many arguments to function call, expected single argument 'real_dev', have 2 arguments
rmnet_unregister_real_device(real_dev, port);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/home/popravki/twrp/kernel/msm-4.19/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c:58:1: note: 'rmnet_unregister_real_device' declared here
static int rmnet_unregister_real_device(struct net_device *real_dev)
^
/home/popravki/twrp/kernel/msm-4.19/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c:542:14: error: no member named 'rmnet_dev' in 'struct rmnet_port'
slave_port->rmnet_dev = rmnet_dev;
~~~~~~~~~~ ^
15 errors generated.
AR drivers/misc/built-in.a
Edited by peturbg