../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:599:48: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: got void *hwbase ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: got void [noderef] __iomem * ../net/devlink/core.c:410:17: warning: no previous prototype for ‘devlink_alloc_wrapper’ [-Wmissing-prototypes] 410 | struct devlink *devlink_alloc_wrapper(const struct devlink_ops *ops, | ^~~~~~~~~~~~~~~~~~~~~ ../net/devlink/core.c:410:16: warning: symbol 'devlink_alloc_wrapper' was not declared. Should it be static? ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../net/devlink/core.c:410:17: warning: no previous prototype for ‘devlink_alloc_wrapper’ [-Wmissing-prototypes] 410 | struct devlink *devlink_alloc_wrapper(const struct devlink_ops *ops, | ^~~~~~~~~~~~~~~~~~~~~ ../net/devlink/core.c:410:16: warning: symbol 'devlink_alloc_wrapper' was not declared. Should it be static? ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? New errors added --- /tmp/tmp.RqgZCFTofT 2025-02-19 10:10:23.846768402 -0800 +++ /tmp/tmp.oQhDMpUmwc 2025-02-19 10:11:47.530830929 -0800 @@ -0,0 +1,4 @@ +../net/devlink/core.c:410:17: warning: no previous prototype for ‘devlink_alloc_wrapper’ [-Wmissing-prototypes] + 410 | struct devlink *devlink_alloc_wrapper(const struct devlink_ops *ops, + | ^~~~~~~~~~~~~~~~~~~~~ +../net/devlink/core.c:410:16: warning: symbol 'devlink_alloc_wrapper' was not declared. Should it be static? Per-file breakdown --- /tmp/tmp.yRrV9oTZ7v 2025-02-19 10:11:47.535830873 -0800 +++ /tmp/tmp.sSLPu0vQbS 2025-02-19 10:11:47.539830828 -0800 @@ -0,0 +1 @@ + 2 ../net/devlink/core.c