========== build_allmodconfig_warn - FAILED ../kernel/sys.c:1113:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1113:32: expected struct task_struct *p1 ../kernel/sys.c:1113:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1860:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../drivers/base/firmware_loader/main.c: note: in included file (through ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ../include/linux/percpu-rwsem.h, ../include/linux/fs.h, ../include/linux/compat.h, ...): ../include/linux/cred.h:175:41: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:175:41: expected struct cred const *old ../include/linux/cred.h:175:41: got struct cred const [noderef] __rcu *cred ../include/linux/cred.h:183:51: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:183:51: expected struct cred const *override_cred ../include/linux/cred.h:183:51: got struct cred const [noderef] __rcu *cred ../drivers/nvme/target/core.c:1556:30: warning: incorrect type in assignment (different base types) ../drivers/nvme/target/core.c:1556:30: expected unsigned int [usertype] result ../drivers/nvme/target/core.c:1556:30: got restricted __le32 [usertype] ../drivers/nvme/target/core.c:1565:30: warning: incorrect type in assignment (different base types) ../drivers/nvme/target/core.c:1565:30: expected unsigned int [usertype] result ../drivers/nvme/target/core.c:1565:30: got restricted __le32 [usertype] ../drivers/target/target_core_configfs.c: note: in included file (through ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ../include/linux/percpu-rwsem.h, ../include/linux/fs.h, ../include/linux/compat.h, ...): ../include/linux/cred.h:175:41: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:175:41: expected struct cred const *old ../include/linux/cred.h:175:41: got struct cred const [noderef] __rcu *cred ../include/linux/cred.h:183:51: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:183:51: expected struct cred const *override_cred ../include/linux/cred.h:183:51: got struct cred const [noderef] __rcu *cred ../drivers/net/phy/qcom/qca807x.c:698:19: error: ‘phy_sfp_attach’ undeclared here (not in a function); did you mean ‘phy_attach’? 698 | .attach = phy_sfp_attach, | ^~~~~~~~~~~~~~ | phy_attach ../drivers/net/phy/qcom/qca807x.c:699:19: error: ‘phy_sfp_detach’ undeclared here (not in a function); did you mean ‘phy_detach’? 699 | .detach = phy_sfp_detach, | ^~~~~~~~~~~~~~ | phy_detach ../drivers/net/phy/qcom/qca807x.c:702:24: error: ‘phy_sfp_connect_phy’ undeclared here (not in a function) 702 | .connect_phy = phy_sfp_connect_phy, | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/phy/qcom/qca807x.c:703:27: error: ‘phy_sfp_disconnect_phy’ undeclared here (not in a function); did you mean ‘phy_disconnect’? 703 | .disconnect_phy = phy_sfp_disconnect_phy, | ^~~~~~~~~~~~~~~~~~~~~~ | phy_disconnect ../drivers/net/phy/qcom/qca807x.c: In function ‘qca807x_probe’: ../drivers/net/phy/qcom/qca807x.c:748:23: error: implicit declaration of function ‘phy_sfp_probe’ [-Wimplicit-function-declaration] 748 | ret = phy_sfp_probe(phydev, &qca807x_sfp_ops); | ^~~~~~~~~~~~~ make[7]: *** [../scripts/Makefile.build:207: drivers/net/phy/qcom/qca807x.o] Error 1 make[6]: *** [../scripts/Makefile.build:465: drivers/net/phy/qcom] Error 2 make[6]: *** Waiting for unfinished jobs.... In file included from ../include/linux/bitmap.h:8, from ../include/linux/ethtool.h:16, from ../drivers/net/phy/dp83822.c:7: ../drivers/net/phy/dp83822.c: In function ‘dp83822_attach_port’: ../drivers/net/phy/dp83822.c:916:27: error: ‘PHY_INTERFACE_MODE_100BASEFX’ undeclared (first use in this function); did you mean ‘PHY_INTERFACE_MODE_100BASEX’? 916 | __set_bit(PHY_INTERFACE_MODE_100BASEFX, interfaces); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitops.h:44:32: note: in definition of macro ‘bitop’ 44 | ((__builtin_constant_p(nr) && \ | ^~ ../drivers/net/phy/dp83822.c:916:17: note: in expansion of macro ‘__set_bit’ 916 | __set_bit(PHY_INTERFACE_MODE_100BASEFX, interfaces); | ^~~~~~~~~ ../drivers/net/phy/dp83822.c:916:27: note: each undeclared identifier is reported only once for each function it appears in 916 | __set_bit(PHY_INTERFACE_MODE_100BASEFX, interfaces); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitops.h:44:32: note: in definition of macro ‘bitop’ 44 | ((__builtin_constant_p(nr) && \ | ^~ ../drivers/net/phy/dp83822.c:916:17: note: in expansion of macro ‘__set_bit’ 916 | __set_bit(PHY_INTERFACE_MODE_100BASEFX, interfaces); | ^~~~~~~~~ ../drivers/net/phy/dp83822.c:916:57: error: ‘interfaces’ undeclared (first use in this function) 916 | __set_bit(PHY_INTERFACE_MODE_100BASEFX, interfaces); | ^~~~~~~~~~ ../include/linux/bitops.h:45:44: note: in definition of macro ‘bitop’ 45 | __builtin_constant_p((uintptr_t)(addr) != (uintptr_t)NULL) && \ | ^~~~ ../drivers/net/phy/dp83822.c:916:17: note: in expansion of macro ‘__set_bit’ 916 | __set_bit(PHY_INTERFACE_MODE_100BASEFX, interfaces); | ^~~~~~~~~ make[6]: *** [../scripts/Makefile.build:207: drivers/net/phy/dp83822.o] Error 1 make[5]: *** [../scripts/Makefile.build:465: drivers/net/phy] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:465: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:414:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1994: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 ../kernel/sys.c:1113:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1113:32: expected struct task_struct *p1 ../kernel/sys.c:1113:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1860:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../drivers/base/firmware_loader/main.c: note: in included file (through ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ../include/linux/percpu-rwsem.h, ../include/linux/fs.h, ../include/linux/compat.h, ...): ../include/linux/cred.h:175:41: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:175:41: expected struct cred const *old ../include/linux/cred.h:175:41: got struct cred const [noderef] __rcu *cred ../include/linux/cred.h:183:51: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:183:51: expected struct cred const *override_cred ../include/linux/cred.h:183:51: got struct cred const [noderef] __rcu *cred ../drivers/nvme/target/core.c:1556:30: warning: incorrect type in assignment (different base types) ../drivers/nvme/target/core.c:1556:30: expected unsigned int [usertype] result ../drivers/nvme/target/core.c:1556:30: got restricted __le32 [usertype] ../drivers/nvme/target/core.c:1565:30: warning: incorrect type in assignment (different base types) ../drivers/nvme/target/core.c:1565:30: expected unsigned int [usertype] result ../drivers/nvme/target/core.c:1565:30: got restricted __le32 [usertype] ../drivers/target/target_core_configfs.c: note: in included file (through ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ../include/linux/percpu-rwsem.h, ../include/linux/fs.h, ../include/linux/compat.h, ...): ../include/linux/cred.h:175:41: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:175:41: expected struct cred const *old ../include/linux/cred.h:175:41: got struct cred const [noderef] __rcu *cred ../include/linux/cred.h:183:51: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:183:51: expected struct cred const *override_cred ../include/linux/cred.h:183:51: got struct cred const [noderef] __rcu *cred ../drivers/net/phy/qcom/qca807x.c:698:19: error: ‘phy_sfp_attach’ undeclared here (not in a function); did you mean ‘phy_attach’? 698 | .attach = phy_sfp_attach, | ^~~~~~~~~~~~~~ | phy_attach ../drivers/net/phy/qcom/qca807x.c:699:19: error: ‘phy_sfp_detach’ undeclared here (not in a function); did you mean ‘phy_detach’? 699 | .detach = phy_sfp_detach, | ^~~~~~~~~~~~~~ | phy_detach ../drivers/net/phy/qcom/qca807x.c:702:24: error: ‘phy_sfp_connect_phy’ undeclared here (not in a function) 702 | .connect_phy = phy_sfp_connect_phy, | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/phy/qcom/qca807x.c:703:27: error: ‘phy_sfp_disconnect_phy’ undeclared here (not in a function); did you mean ‘phy_disconnect’? 703 | .disconnect_phy = phy_sfp_disconnect_phy, | ^~~~~~~~~~~~~~~~~~~~~~ | phy_disconnect ../drivers/net/phy/qcom/qca807x.c: In function ‘qca807x_probe’: ../drivers/net/phy/qcom/qca807x.c:748:23: error: implicit declaration of function ‘phy_sfp_probe’ [-Wimplicit-function-declaration] 748 | ret = phy_sfp_probe(phydev, &qca807x_sfp_ops); | ^~~~~~~~~~~~~ make[7]: *** [../scripts/Makefile.build:207: drivers/net/phy/qcom/qca807x.o] Error 1 make[6]: *** [../scripts/Makefile.build:465: drivers/net/phy/qcom] Error 2 make[6]: *** Waiting for unfinished jobs.... In file included from ../include/linux/bitmap.h:8, from ../include/linux/ethtool.h:16, from ../drivers/net/phy/dp83822.c:7: ../drivers/net/phy/dp83822.c: In function ‘dp83822_attach_port’: ../drivers/net/phy/dp83822.c:916:27: error: ‘PHY_INTERFACE_MODE_100BASEFX’ undeclared (first use in this function); did you mean ‘PHY_INTERFACE_MODE_100BASEX’? 916 | __set_bit(PHY_INTERFACE_MODE_100BASEFX, interfaces); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitops.h:44:32: note: in definition of macro ‘bitop’ 44 | ((__builtin_constant_p(nr) && \ | ^~ ../drivers/net/phy/dp83822.c:916:17: note: in expansion of macro ‘__set_bit’ 916 | __set_bit(PHY_INTERFACE_MODE_100BASEFX, interfaces); | ^~~~~~~~~ ../drivers/net/phy/dp83822.c:916:27: note: each undeclared identifier is reported only once for each function it appears in 916 | __set_bit(PHY_INTERFACE_MODE_100BASEFX, interfaces); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitops.h:44:32: note: in definition of macro ‘bitop’ 44 | ((__builtin_constant_p(nr) && \ | ^~ ../drivers/net/phy/dp83822.c:916:17: note: in expansion of macro ‘__set_bit’ 916 | __set_bit(PHY_INTERFACE_MODE_100BASEFX, interfaces); | ^~~~~~~~~ ../drivers/net/phy/dp83822.c:916:57: error: ‘interfaces’ undeclared (first use in this function) 916 | __set_bit(PHY_INTERFACE_MODE_100BASEFX, interfaces); | ^~~~~~~~~~ ../include/linux/bitops.h:45:44: note: in definition of macro ‘bitop’ 45 | __builtin_constant_p((uintptr_t)(addr) != (uintptr_t)NULL) && \ | ^~~~ ../drivers/net/phy/dp83822.c:916:17: note: in expansion of macro ‘__set_bit’ 916 | __set_bit(PHY_INTERFACE_MODE_100BASEFX, interfaces); | ^~~~~~~~~ make[6]: *** [../scripts/Makefile.build:207: drivers/net/phy/dp83822.o] Error 1 make[5]: *** [../scripts/Makefile.build:465: drivers/net/phy] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:465: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:414:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1994: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2