../net/devlink/core.c:410:17: warning: no previous prototype for function 'devlink_alloc_wrapper' [-Wmissing-prototypes] 410 | struct devlink *devlink_alloc_wrapper(const struct devlink_ops *ops, | ^ ../net/devlink/core.c:410:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 410 | struct devlink *devlink_alloc_wrapper(const struct devlink_ops *ops, | ^ | static 1 warning generated. drivers/net/ethernet/marvell/octeontx2/nic/rvu_nicvf.o: warning: objtool: .discard.annotate_insn: dodgy linker, sh_entsize != 8 drivers/net/ethernet/marvell/octeontx2/nic/rvu_nicpf.o: warning: objtool: .discard.annotate_insn: dodgy linker, sh_entsize != 8 vmlinux.o: warning: objtool: .discard.annotate_insn: dodgy linker, sh_entsize != 8 vmlinux.o: warning: objtool: .discard.annotate_insn: dodgy linker, sh_entsize != 8 ../net/devlink/core.c:410:17: warning: no previous prototype for function 'devlink_alloc_wrapper' [-Wmissing-prototypes] 410 | struct devlink *devlink_alloc_wrapper(const struct devlink_ops *ops, | ^ ../net/devlink/core.c:410:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 410 | struct devlink *devlink_alloc_wrapper(const struct devlink_ops *ops, | ^ | static 1 warning generated. vmlinux.o: warning: objtool: .discard.annotate_insn: dodgy linker, sh_entsize != 8 New errors added --- /tmp/tmp.cI6MRw9pQF 2025-02-19 10:04:21.111831947 -0800 +++ /tmp/tmp.h3NJS064NU 2025-02-19 10:05:41.271933952 -0800 @@ -0,0 +1,8 @@ +../net/devlink/core.c:410:17: warning: no previous prototype for function 'devlink_alloc_wrapper' [-Wmissing-prototypes] + 410 | struct devlink *devlink_alloc_wrapper(const struct devlink_ops *ops, + | ^ +../net/devlink/core.c:410:1: note: declare 'static' if the function is not intended to be used outside of this translation unit + 410 | struct devlink *devlink_alloc_wrapper(const struct devlink_ops *ops, + | ^ + | static +1 warning generated. Per-file breakdown --- /tmp/tmp.ITMjnigreI 2025-02-19 10:05:41.278933873 -0800 +++ /tmp/tmp.cnrbzU3SwB 2025-02-19 10:05:41.281933840 -0800 @@ -0,0 +1 @@ + 1 ../net/devlink/core.c