../drivers/net/phy/marvell_ptp.c: In function ‘marvell_phy_ptp_probe’: ../drivers/net/phy/marvell_ptp.c:269:33: error: passing argument 4 of ‘marvell_tai_probe’ from incompatible pointer type [-Wincompatible-pointer-types] 269 | "Marvell PHY", dev); | ^~~~~~~~~~~~~ | | | char * In file included from ../drivers/net/phy/marvell_ptp.c:9: ../include/linux/marvell_ptp.h:81:44: note: expected ‘struct ptp_pin_desc *’ but argument is of type ‘char *’ 81 | struct ptp_pin_desc *pin_config, int n_pins, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ../drivers/net/phy/marvell_ptp.c:269:48: error: passing argument 5 of ‘marvell_tai_probe’ makes integer from pointer without a cast [-Wint-conversion] 269 | "Marvell PHY", dev); | ^~~ | | | struct device * ../include/linux/marvell_ptp.h:81:60: note: expected ‘int’ but argument is of type ‘struct device *’ 81 | struct ptp_pin_desc *pin_config, int n_pins, | ~~~~^~~~~~ ../drivers/net/phy/marvell_ptp.c:267:15: error: too few arguments to function ‘marvell_tai_probe’ 267 | err = marvell_tai_probe(&tai, &marvell_phy_ptp_ops, | ^~~~~~~~~~~~~~~~~ ../include/linux/marvell_ptp.h:78:5: note: declared here 78 | int marvell_tai_probe(struct marvell_tai **taip, | ^~~~~~~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/phy/marvell_ptp.o] Error 1 make[5]: *** [../scripts/Makefile.build:461: drivers/net/phy] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:461: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:461: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2009: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 ../kernel/sys.c:1114:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1114:32: expected struct task_struct *p1 ../kernel/sys.c:1114:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1864: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/net/phy/marvell_ptp.c: In function ‘marvell_phy_ptp_probe’: ../drivers/net/phy/marvell_ptp.c:269:33: error: passing argument 4 of ‘marvell_tai_probe’ from incompatible pointer type [-Wincompatible-pointer-types] 269 | "Marvell PHY", dev); | ^~~~~~~~~~~~~ | | | char * In file included from ../drivers/net/phy/marvell_ptp.c:9: ../include/linux/marvell_ptp.h:81:44: note: expected ‘struct ptp_pin_desc *’ but argument is of type ‘char *’ 81 | struct ptp_pin_desc *pin_config, int n_pins, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ../drivers/net/phy/marvell_ptp.c:269:48: error: passing argument 5 of ‘marvell_tai_probe’ makes integer from pointer without a cast [-Wint-conversion] 269 | "Marvell PHY", dev); | ^~~ | | | struct device * ../include/linux/marvell_ptp.h:81:60: note: expected ‘int’ but argument is of type ‘struct device *’ 81 | struct ptp_pin_desc *pin_config, int n_pins, | ~~~~^~~~~~ ../drivers/net/phy/marvell_ptp.c:267:15: error: too few arguments to function ‘marvell_tai_probe’ 267 | err = marvell_tai_probe(&tai, &marvell_phy_ptp_ops, | ^~~~~~~~~~~~~~~~~ ../include/linux/marvell_ptp.h:78:5: note: declared here 78 | int marvell_tai_probe(struct marvell_tai **taip, | ^~~~~~~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/phy/marvell_ptp.o] Error 1 make[5]: *** [../scripts/Makefile.build:461: drivers/net/phy] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:461: 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:428:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" make[3]: *** [../scripts/Makefile.build:461: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2009: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 ../kernel/sys.c:1114:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1114:32: expected struct task_struct *p1 ../kernel/sys.c:1114:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1864: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/net/phy/marvell_ptp.c: In function ‘marvell_phy_ptp_probe’: ../drivers/net/phy/marvell_ptp.c:269:33: error: passing argument 4 of ‘marvell_tai_probe’ from incompatible pointer type [-Wincompatible-pointer-types] 269 | "Marvell PHY", dev); | ^~~~~~~~~~~~~ | | | char * In file included from ../drivers/net/phy/marvell_ptp.c:9: ../include/linux/marvell_ptp.h:81:44: note: expected ‘struct ptp_pin_desc *’ but argument is of type ‘char *’ 81 | struct ptp_pin_desc *pin_config, int n_pins, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ../drivers/net/phy/marvell_ptp.c:269:48: error: passing argument 5 of ‘marvell_tai_probe’ makes integer from pointer without a cast [-Wint-conversion] 269 | "Marvell PHY", dev); | ^~~ | | | struct device * ../include/linux/marvell_ptp.h:81:60: note: expected ‘int’ but argument is of type ‘struct device *’ 81 | struct ptp_pin_desc *pin_config, int n_pins, | ~~~~^~~~~~ ../drivers/net/phy/marvell_ptp.c:267:15: error: too few arguments to function ‘marvell_tai_probe’ 267 | err = marvell_tai_probe(&tai, &marvell_phy_ptp_ops, | ^~~~~~~~~~~~~~~~~ ../include/linux/marvell_ptp.h:78:5: note: declared here 78 | int marvell_tai_probe(struct marvell_tai **taip, | ^~~~~~~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/phy/marvell_ptp.o] Error 1 make[5]: *** [../scripts/Makefile.build:461: drivers/net/phy] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:461: 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:428:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" make[3]: *** [../scripts/Makefile.build:461: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2009: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2