tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/intel/idpf/idpf_ethtool.c: In function ‘idpf_get_link_ksettings’: ../drivers/net/ethernet/intel/idpf/idpf_ethtool.c:1306:30: error: passing argument 1 of ‘idpf_vport_ctrl_lock’ from incompatible pointer type [-Wincompatible-pointer-types] 1306 | idpf_vport_ctrl_lock(netdev); | ^~~~~~ | | | struct net_device * In file included from ../drivers/net/ethernet/intel/idpf/idpf_ethtool.c:4: ../drivers/net/ethernet/intel/idpf/idpf.h:796:62: note: expected ‘struct idpf_adapter *’ but argument is of type ‘struct net_device *’ 796 | static inline void idpf_vport_ctrl_lock(struct idpf_adapter *adapter) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../drivers/net/ethernet/intel/idpf/idpf_ethtool.c:1320:32: error: passing argument 1 of ‘idpf_vport_ctrl_unlock’ from incompatible pointer type [-Wincompatible-pointer-types] 1320 | idpf_vport_ctrl_unlock(netdev); | ^~~~~~ | | | struct net_device * ../drivers/net/ethernet/intel/idpf/idpf.h:805:64: note: expected ‘struct idpf_adapter *’ but argument is of type ‘struct net_device *’ 805 | static inline void idpf_vport_ctrl_unlock(struct idpf_adapter *adapter) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/intel/idpf/idpf_ethtool.o] Error 1 make[8]: *** Waiting for unfinished jobs.... make[7]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/intel/idpf] Error 2 make[6]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/intel] Error 2 make[5]: *** [../scripts/Makefile.build:478: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:478: drivers] Error 2 make[2]: *** [/home/nipa/net/wt-0/Makefile:1936: .] Error 2 make[1]: *** [/home/nipa/net/wt-0/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/intel/idpf/idpf_ethtool.c: In function ‘idpf_get_link_ksettings’: ../drivers/net/ethernet/intel/idpf/idpf_ethtool.c:1306:30: error: passing argument 1 of ‘idpf_vport_ctrl_lock’ from incompatible pointer type [-Wincompatible-pointer-types] 1306 | idpf_vport_ctrl_lock(netdev); | ^~~~~~ | | | struct net_device * In file included from ../drivers/net/ethernet/intel/idpf/idpf_ethtool.c:4: ../drivers/net/ethernet/intel/idpf/idpf.h:796:62: note: expected ‘struct idpf_adapter *’ but argument is of type ‘struct net_device *’ 796 | static inline void idpf_vport_ctrl_lock(struct idpf_adapter *adapter) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../drivers/net/ethernet/intel/idpf/idpf_ethtool.c:1320:32: error: passing argument 1 of ‘idpf_vport_ctrl_unlock’ from incompatible pointer type [-Wincompatible-pointer-types] 1320 | idpf_vport_ctrl_unlock(netdev); | ^~~~~~ | | | struct net_device * ../drivers/net/ethernet/intel/idpf/idpf.h:805:64: note: expected ‘struct idpf_adapter *’ but argument is of type ‘struct net_device *’ 805 | static inline void idpf_vport_ctrl_unlock(struct idpf_adapter *adapter) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/intel/idpf/idpf_ethtool.o] Error 1 make[7]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/intel/idpf] Error 2 make[6]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/intel] Error 2 make[5]: *** [../scripts/Makefile.build:478: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:478: drivers] Error 2 make[2]: *** [/home/nipa/net/wt-0/Makefile:1936: .] Error 2 make[1]: *** [/home/nipa/net/wt-0/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 New errors added --- /tmp/tmp.3MpIRjAdNC 2024-11-05 13:55:44.158395761 -0800 +++ /tmp/tmp.0OCTwvtbr7 2024-11-05 13:55:56.838309613 -0800 @@ -3,0 +4,28 @@ +../drivers/net/ethernet/intel/idpf/idpf_ethtool.c: In function ‘idpf_get_link_ksettings’: +../drivers/net/ethernet/intel/idpf/idpf_ethtool.c:1306:30: error: passing argument 1 of ‘idpf_vport_ctrl_lock’ from incompatible pointer type [-Wincompatible-pointer-types] + 1306 | idpf_vport_ctrl_lock(netdev); + | ^~~~~~ + | | + | struct net_device * +In file included from ../drivers/net/ethernet/intel/idpf/idpf_ethtool.c:4: +../drivers/net/ethernet/intel/idpf/idpf.h:796:62: note: expected ‘struct idpf_adapter *’ but argument is of type ‘struct net_device *’ + 796 | static inline void idpf_vport_ctrl_lock(struct idpf_adapter *adapter) + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ +../drivers/net/ethernet/intel/idpf/idpf_ethtool.c:1320:32: error: passing argument 1 of ‘idpf_vport_ctrl_unlock’ from incompatible pointer type [-Wincompatible-pointer-types] + 1320 | idpf_vport_ctrl_unlock(netdev); + | ^~~~~~ + | | + | struct net_device * +../drivers/net/ethernet/intel/idpf/idpf.h:805:64: note: expected ‘struct idpf_adapter *’ but argument is of type ‘struct net_device *’ + 805 | static inline void idpf_vport_ctrl_unlock(struct idpf_adapter *adapter) + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ +make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/intel/idpf/idpf_ethtool.o] Error 1 +make[7]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/intel/idpf] Error 2 +make[6]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/intel] Error 2 +make[5]: *** [../scripts/Makefile.build:478: drivers/net/ethernet] Error 2 +make[4]: *** [../scripts/Makefile.build:478: drivers/net] Error 2 +make[4]: *** Waiting for unfinished jobs.... +make[3]: *** [../scripts/Makefile.build:478: drivers] Error 2 +make[2]: *** [/home/nipa/net/wt-0/Makefile:1936: .] Error 2 +make[1]: *** [/home/nipa/net/wt-0/Makefile:224: __sub-make] Error 2 +make: *** [Makefile:224: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.4NH2MC3KQu 2024-11-05 13:55:56.844309572 -0800 +++ /tmp/tmp.GqjzfE2irs 2024-11-05 13:55:56.848309545 -0800 @@ -0,0 +1 @@ + 2 ../drivers/net/ethernet/intel/idpf/idpf_ethtool.c