Hello! On 28.08.2019 19:41, Vlad Buslov wrote:
New local variable "struct flow_block_offload *f" was added to mlx5e_setup_tc() in recent rtnl lock removal patches. The variable is used in code that is only compiled when CONFIG_MLX5_ESWITCH is enabled. This results compilation warning about unused variable when CONFIG_MLX5_ESWITCH is not set. Move the variable definition into eswitch-specific code block from the begging of mlx5e_setup_tc() function.
Beginning?
Fixes: c9f14470d048 ("net: sched: add API for registering unlocked offload block callbacks") Reported-by: tanhuazhong <tanhuazh...@huawei.com> Signed-off-by: Vlad Buslov <vla...@mellanox.com>
[...] MBR, Sergei