Skip to content

objtool: mlx5e_mpwrq_mtts_per_wqe() falls through to next function mlx5e_mpwrq_max_num_entries() #2131

@nathanchance

Description

@nathanchance

With current mainline (98906f9) and at least LLVM 21.1.3:

$ cat allno.config
CONFIG_ETHERNET=y
CONFIG_INET=y
CONFIG_MLX5_CORE=m
CONFIG_MLX5_CORE_EN=y
CONFIG_MODULES=y
CONFIG_NET=y
CONFIG_NET_VENDOR_MELLANOX=y
CONFIG_NETDEVICES=y
CONFIG_PCI=y
CONFIG_X86_KERNEL_IBT=y

$ make -skj"$(nproc)" ARCH=x86_64 KCONFIG_ALLCONFIG=1 LLVM=1 mrproper allnoconfig drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.o
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.o: warning: objtool: mlx5e_mpwrq_mtts_per_wqe() falls through to next function mlx5e_mpwrq_max_num_entries()
...

Metadata

Metadata

Assignees

Labels

[ARCH] x86_64This bug impacts ARCH=x86_64[FIXED][LINUX] 6.18This bug was fixed in Linux 6.18[TOOL] objtoolwarning is produced by the kernel's objtool

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions