========== build_allmodconfig_warn - FAILED ../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[6]: *** Waiting for unfinished jobs.... make[5]: *** [../scripts/Makefile.build:461: drivers/net/phy] Error 2 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/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" WARNING: modpost: missing MODULE_DESCRIPTION() in mm/kasan/kasan_test.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/tests/slub_kunit.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../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/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[6]: *** Waiting for unfinished jobs.... 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 New errors added --- /tmp/tmp.lbunsf3aUb 2025-04-11 16:56:47.943188055 -0700 +++ /tmp/tmp.dHenrR1sAx 2025-04-11 16:57:13.523919141 -0700 @@ -0,0 +1 @@ +../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit @@ -5 +6,30 @@ -../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[6]: *** Waiting for unfinished jobs.... +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.... @@ -8,2 +38,5 @@ -WARNING: modpost: missing MODULE_DESCRIPTION() in mm/kasan/kasan_test.o -WARNING: modpost: missing MODULE_DESCRIPTION() in lib/tests/slub_kunit.o +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 Per-file breakdown --- /tmp/tmp.AXP1e0UMmz 2025-04-11 16:57:13.530919068 -0700 +++ /tmp/tmp.a4SeaZqsyy 2025-04-11 16:57:13.532919047 -0700 @@ -2,0 +3 @@ + 3 ../drivers/net/phy/marvell_ptp.c