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/run_tags_test.sh: 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/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/intel/ice/ice_ptp.c:21:44: error: no member named 'ctrl_pf' in 'struct ice_adapter' 21 | return !pf->adapter ? NULL : pf->adapter->ctrl_pf; | ~~~~~~~~~~~ ^ 1 error generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/ice/ice_ptp.o] Error 1 make[8]: *** Waiting for unfinished jobs.... make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/ice] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1934: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __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/run_tags_test.sh: 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/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/intel/ice/ice_ptp.c:2884:56: error: no member named 'aux_dev' in 'struct ice_ptp_port' 2884 | aux_port = container_of(aux_dev, struct ice_ptp_port, aux_dev); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../include/linux/container_of.h:20:49: note: expanded from macro 'container_of' 20 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ 21 | __same_type(*(ptr), void), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | "pointer type mismatch in container_of()"); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:428:74: note: expanded from macro '__same_type' 428 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | ^ ../include/linux/build_bug.h:77:50: note: expanded from macro 'static_assert' 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:78:56: note: expanded from macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ../drivers/net/ethernet/intel/ice/ice_ptp.c:2884:13: error: no member named 'aux_dev' in 'ice_ptp_port' 2884 | aux_port = container_of(aux_dev, struct ice_ptp_port, aux_dev); | ^ ~~~~~~~ ../include/linux/container_of.h:23:21: note: expanded from macro 'container_of' 23 | ((type *)(__mptr - offsetof(type, member))); }) | ^ ~~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ ../drivers/net/ethernet/intel/ice/ice_ptp.c:2884:11: error: assigning to 'struct ice_ptp_port *' from incompatible type 'void' 2884 | aux_port = container_of(aux_dev, struct ice_ptp_port, aux_dev); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ice/ice_ptp.c:2905:16: error: incomplete definition of type 'struct ice_ptp_port_owner' 2905 | ports_owner = container_of(aux_drv, struct ice_ptp_port_owner, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2906 | aux_driver); | ~~~~~~~~~~~ ../include/linux/container_of.h:20:47: note: expanded from macro 'container_of' 20 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ 21 | __same_type(*(ptr), void), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | "pointer type mismatch in container_of()"); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:428:74: note: expanded from macro '__same_type' 428 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | ^ ../include/linux/build_bug.h:77:50: note: expanded from macro 'static_assert' 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:78:56: note: expanded from macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ../drivers/net/ethernet/intel/ice/ice_ptp.c:2897:9: note: forward declaration of 'struct ice_ptp_port_owner' 2897 | struct ice_ptp_port_owner *ports_owner; | ^ ../drivers/net/ethernet/intel/ice/ice_ptp.c:2905:16: error: offsetof of incomplete type 'struct ice_ptp_port_owner' 2905 | ports_owner = container_of(aux_drv, struct ice_ptp_port_owner, | ^ ~~~~~~ ../include/linux/container_of.h:23:21: note: expanded from macro 'container_of' 23 | ((type *)(__mptr - offsetof(type, member))); }) | ^ ~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~ ../drivers/net/ethernet/intel/ice/ice_ptp.c:2897:9: note: forward declaration of 'struct ice_ptp_port_owner' 2897 | struct ice_ptp_port_owner *ports_owner; | ^ ../drivers/net/ethernet/intel/ice/ice_ptp.c:2905:14: error: assigning to 'struct ice_ptp_port_owner *' from incompatible type 'void' 2905 | ports_owner = container_of(aux_drv, struct ice_ptp_port_owner, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2906 | aux_driver); | ~~~~~~~~~~~ ../drivers/net/ethernet/intel/ice/ice_ptp.c:2907:56: error: no member named 'ports_owner' in 'struct ice_ptp' 2907 | owner_ptp = container_of(ports_owner, struct ice_ptp, ports_owner); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../include/linux/container_of.h:20:49: note: expanded from macro 'container_of' 20 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ 21 | __same_type(*(ptr), void), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | "pointer type mismatch in container_of()"); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:428:74: note: expanded from macro '__same_type' 428 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | ^ ../include/linux/build_bug.h:77:50: note: expanded from macro 'static_assert' 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:78:56: note: expanded from macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ../drivers/net/ethernet/intel/ice/ice_ptp.c:2907:14: error: no member named 'ports_owner' in 'ice_ptp' 2907 | owner_ptp = container_of(ports_owner, struct ice_ptp, ports_owner); | ^ ~~~~~~~~~~~ ../include/linux/container_of.h:23:21: note: expanded from macro 'container_of' 23 | ((type *)(__mptr - offsetof(type, member))); }) | ^ ~~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ ../drivers/net/ethernet/intel/ice/ice_ptp.c:2907:12: error: assigning to 'struct ice_ptp *' from incompatible type 'void' 2907 | owner_ptp = container_of(ports_owner, struct ice_ptp, ports_owner); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ice/ice_ptp.c:2925:35: error: no member named 'list_member' in 'struct ice_ptp_port' 2925 | INIT_LIST_HEAD(&aux_pf->ptp.port.list_member); | ~~~~~~~~~~~~~~~~ ^ ../drivers/net/ethernet/intel/ice/ice_ptp.c:2926:28: error: no member named 'ports_owner' in 'struct ice_ptp' 2926 | mutex_lock(&owner_pf->ptp.ports_owner.lock); | ~~~~~~~~~~~~~ ^ ../include/linux/mutex.h:161:44: note: expanded from macro 'mutex_lock' 161 | #define mutex_lock(lock) mutex_lock_nested(lock, 0) | ^~~~ ../drivers/net/ethernet/intel/ice/ice_ptp.c:2927:29: error: no member named 'list_member' in 'struct ice_ptp_port' 2927 | list_add(&aux_pf->ptp.port.list_member, | ~~~~~~~~~~~~~~~~ ^ ../drivers/net/ethernet/intel/ice/ice_ptp.c:2928:19: error: no member named 'ports_owner' in 'struct ice_ptp' 2928 | &owner_pf->ptp.ports_owner.ports); | ~~~~~~~~~~~~~ ^ ../drivers/net/ethernet/intel/ice/ice_ptp.c:2929:30: error: no member named 'ports_owner' in 'struct ice_ptp' 2929 | mutex_unlock(&owner_pf->ptp.ports_owner.lock); | ~~~~~~~~~~~~~ ^ ../drivers/net/ethernet/intel/ice/ice_ptp.c:2943:28: error: no member named 'ports_owner' in 'struct ice_ptp' 2943 | mutex_lock(&owner_pf->ptp.ports_owner.lock); | ~~~~~~~~~~~~~ ^ ../include/linux/mutex.h:161:44: note: expanded from macro 'mutex_lock' 161 | #define mutex_lock(lock) mutex_lock_nested(lock, 0) | ^~~~ ../drivers/net/ethernet/intel/ice/ice_ptp.c:2944:29: error: no member named 'list_member' in 'struct ice_ptp_port' 2944 | list_del(&aux_pf->ptp.port.list_member); | ~~~~~~~~~~~~~~~~ ^ ../drivers/net/ethernet/intel/ice/ice_ptp.c:2945:30: error: no member named 'ports_owner' in 'struct ice_ptp' 2945 | mutex_unlock(&owner_pf->ptp.ports_owner.lock); | ~~~~~~~~~~~~~ ^ ../drivers/net/ethernet/intel/ice/ice_ptp.c:3014:21: error: no member named 'ports_owner' in 'struct ice_ptp' 3014 | aux_driver = &ptp->ports_owner.aux_driver; | ~~~ ^ ../drivers/net/ethernet/intel/ice/ice_ptp.c:3015:23: error: no member named 'ports_owner' in 'struct ice_ptp' 3015 | INIT_LIST_HEAD(&ptp->ports_owner.ports); | ~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/ice/ice_ptp.o] Error 1 make[8]: *** Waiting for unfinished jobs.... make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/ice] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1934: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2 New errors added --- /tmp/tmp.P9jvEajQZc 2024-06-18 06:29:51.345555039 -0700 +++ /tmp/tmp.DuragGC4d3 2024-06-18 06:30:07.398891637 -0700 @@ -9,4 +9,141 @@ -../drivers/net/ethernet/intel/ice/ice_ptp.c:21:44: error: no member named 'ctrl_pf' in 'struct ice_adapter' - 21 | return !pf->adapter ? NULL : pf->adapter->ctrl_pf; - | ~~~~~~~~~~~ ^ -1 error generated. +../drivers/net/ethernet/intel/ice/ice_ptp.c:2884:56: error: no member named 'aux_dev' in 'struct ice_ptp_port' + 2884 | aux_port = container_of(aux_dev, struct ice_ptp_port, aux_dev); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ +../include/linux/container_of.h:20:49: note: expanded from macro 'container_of' + 20 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ + 21 | __same_type(*(ptr), void), \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 22 | "pointer type mismatch in container_of()"); \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:428:74: note: expanded from macro '__same_type' + 428 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) + | ^ +../include/linux/build_bug.h:77:50: note: expanded from macro 'static_assert' + 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:78:56: note: expanded from macro '__static_assert' + 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) + | ^~~~ +../drivers/net/ethernet/intel/ice/ice_ptp.c:2884:13: error: no member named 'aux_dev' in 'ice_ptp_port' + 2884 | aux_port = container_of(aux_dev, struct ice_ptp_port, aux_dev); + | ^ ~~~~~~~ +../include/linux/container_of.h:23:21: note: expanded from macro 'container_of' + 23 | ((type *)(__mptr - offsetof(type, member))); }) + | ^ ~~~~~~ +../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' + 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) + | ^ ~~~~~~ +../drivers/net/ethernet/intel/ice/ice_ptp.c:2884:11: error: assigning to 'struct ice_ptp_port *' from incompatible type 'void' + 2884 | aux_port = container_of(aux_dev, struct ice_ptp_port, aux_dev); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/intel/ice/ice_ptp.c:2905:16: error: incomplete definition of type 'struct ice_ptp_port_owner' + 2905 | ports_owner = container_of(aux_drv, struct ice_ptp_port_owner, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 2906 | aux_driver); + | ~~~~~~~~~~~ +../include/linux/container_of.h:20:47: note: expanded from macro 'container_of' + 20 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ + 21 | __same_type(*(ptr), void), \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 22 | "pointer type mismatch in container_of()"); \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:428:74: note: expanded from macro '__same_type' + 428 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) + | ^ +../include/linux/build_bug.h:77:50: note: expanded from macro 'static_assert' + 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:78:56: note: expanded from macro '__static_assert' + 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) + | ^~~~ +../drivers/net/ethernet/intel/ice/ice_ptp.c:2897:9: note: forward declaration of 'struct ice_ptp_port_owner' + 2897 | struct ice_ptp_port_owner *ports_owner; + | ^ +../drivers/net/ethernet/intel/ice/ice_ptp.c:2905:16: error: offsetof of incomplete type 'struct ice_ptp_port_owner' + 2905 | ports_owner = container_of(aux_drv, struct ice_ptp_port_owner, + | ^ ~~~~~~ +../include/linux/container_of.h:23:21: note: expanded from macro 'container_of' + 23 | ((type *)(__mptr - offsetof(type, member))); }) + | ^ ~~~~ +../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' + 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) + | ^ ~~~~ +../drivers/net/ethernet/intel/ice/ice_ptp.c:2897:9: note: forward declaration of 'struct ice_ptp_port_owner' + 2897 | struct ice_ptp_port_owner *ports_owner; + | ^ +../drivers/net/ethernet/intel/ice/ice_ptp.c:2905:14: error: assigning to 'struct ice_ptp_port_owner *' from incompatible type 'void' + 2905 | ports_owner = container_of(aux_drv, struct ice_ptp_port_owner, + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 2906 | aux_driver); + | ~~~~~~~~~~~ +../drivers/net/ethernet/intel/ice/ice_ptp.c:2907:56: error: no member named 'ports_owner' in 'struct ice_ptp' + 2907 | owner_ptp = container_of(ports_owner, struct ice_ptp, ports_owner); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +../include/linux/container_of.h:20:49: note: expanded from macro 'container_of' + 20 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ + 21 | __same_type(*(ptr), void), \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 22 | "pointer type mismatch in container_of()"); \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:428:74: note: expanded from macro '__same_type' + 428 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) + | ^ +../include/linux/build_bug.h:77:50: note: expanded from macro 'static_assert' + 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:78:56: note: expanded from macro '__static_assert' + 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) + | ^~~~ +../drivers/net/ethernet/intel/ice/ice_ptp.c:2907:14: error: no member named 'ports_owner' in 'ice_ptp' + 2907 | owner_ptp = container_of(ports_owner, struct ice_ptp, ports_owner); + | ^ ~~~~~~~~~~~ +../include/linux/container_of.h:23:21: note: expanded from macro 'container_of' + 23 | ((type *)(__mptr - offsetof(type, member))); }) + | ^ ~~~~~~ +../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' + 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) + | ^ ~~~~~~ +../drivers/net/ethernet/intel/ice/ice_ptp.c:2907:12: error: assigning to 'struct ice_ptp *' from incompatible type 'void' + 2907 | owner_ptp = container_of(ports_owner, struct ice_ptp, ports_owner); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/intel/ice/ice_ptp.c:2925:35: error: no member named 'list_member' in 'struct ice_ptp_port' + 2925 | INIT_LIST_HEAD(&aux_pf->ptp.port.list_member); + | ~~~~~~~~~~~~~~~~ ^ +../drivers/net/ethernet/intel/ice/ice_ptp.c:2926:28: error: no member named 'ports_owner' in 'struct ice_ptp' + 2926 | mutex_lock(&owner_pf->ptp.ports_owner.lock); + | ~~~~~~~~~~~~~ ^ +../include/linux/mutex.h:161:44: note: expanded from macro 'mutex_lock' + 161 | #define mutex_lock(lock) mutex_lock_nested(lock, 0) + | ^~~~ +../drivers/net/ethernet/intel/ice/ice_ptp.c:2927:29: error: no member named 'list_member' in 'struct ice_ptp_port' + 2927 | list_add(&aux_pf->ptp.port.list_member, + | ~~~~~~~~~~~~~~~~ ^ +../drivers/net/ethernet/intel/ice/ice_ptp.c:2928:19: error: no member named 'ports_owner' in 'struct ice_ptp' + 2928 | &owner_pf->ptp.ports_owner.ports); + | ~~~~~~~~~~~~~ ^ +../drivers/net/ethernet/intel/ice/ice_ptp.c:2929:30: error: no member named 'ports_owner' in 'struct ice_ptp' + 2929 | mutex_unlock(&owner_pf->ptp.ports_owner.lock); + | ~~~~~~~~~~~~~ ^ +../drivers/net/ethernet/intel/ice/ice_ptp.c:2943:28: error: no member named 'ports_owner' in 'struct ice_ptp' + 2943 | mutex_lock(&owner_pf->ptp.ports_owner.lock); + | ~~~~~~~~~~~~~ ^ +../include/linux/mutex.h:161:44: note: expanded from macro 'mutex_lock' + 161 | #define mutex_lock(lock) mutex_lock_nested(lock, 0) + | ^~~~ +../drivers/net/ethernet/intel/ice/ice_ptp.c:2944:29: error: no member named 'list_member' in 'struct ice_ptp_port' + 2944 | list_del(&aux_pf->ptp.port.list_member); + | ~~~~~~~~~~~~~~~~ ^ +../drivers/net/ethernet/intel/ice/ice_ptp.c:2945:30: error: no member named 'ports_owner' in 'struct ice_ptp' + 2945 | mutex_unlock(&owner_pf->ptp.ports_owner.lock); + | ~~~~~~~~~~~~~ ^ +../drivers/net/ethernet/intel/ice/ice_ptp.c:3014:21: error: no member named 'ports_owner' in 'struct ice_ptp' + 3014 | aux_driver = &ptp->ports_owner.aux_driver; + | ~~~ ^ +../drivers/net/ethernet/intel/ice/ice_ptp.c:3015:23: error: no member named 'ports_owner' in 'struct ice_ptp' + 3015 | INIT_LIST_HEAD(&ptp->ports_owner.ports); + | ~~~ ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. @@ -18,0 +156 @@ +make[4]: *** Waiting for unfinished jobs.... Per-file breakdown --- /tmp/tmp.MGQnlRjOLL 2024-06-18 06:30:07.407891826 -0700 +++ /tmp/tmp.rLZ9NWRy4Y 2024-06-18 06:30:07.410891888 -0700 @@ -1 +1 @@ - 1 ../drivers/net/ethernet/intel/ice/ice_ptp.c + 19 ../drivers/net/ethernet/intel/ice/ice_ptp.c