Skip to contentSkip to conversation

drivers/net/ethernet/mellanox/mlx5/core/en_main.c:663 mlx5e_free_mpwqe_rq_drop_page() warn: inconsistent indenting

DISCUSSION kernel test robot 1 participant 1 message Jul 14

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0f26556c5eeea62cc934fa8938b148aa5844a6b6
commit: 0285cc3dac1b4ceb3dacdfce43627d41d649cf47 net/mlx5e: Alloc rq drop page based on calculated page_shift
date:   5 months ago
config: arm-randconfig-r072-20260714 (https://download.01.org/0day-ci/archive/20260714/[email protected]/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
smatch: v0.5.0-9185-gbcc58b9c

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags

| Fixes: 0285cc3dac1b ("net/mlx5e: Alloc rq drop page based on calculated page_shift")
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

smatch warnings:
drivers/net/ethernet/mellanox/mlx5/core/en_main.c:663 mlx5e_free_mpwqe_rq_drop_page() warn: inconsistent indenting

vim +663 drivers/net/ethernet/mellanox/mlx5/core/en_main.c

655
656 static void mlx5e_free_mpwqe_rq_drop_page(struct mlx5e_rq *rq)
657 {
658 u16 page_order = max_t(s16, rq->mpwqe.page_shift - PAGE_SHIFT, 0);
659 u32 page_size = BIT(PAGE_SHIFT + page_order);
660
661 dma_unmap_page(rq->pdev, rq->wqe_overflow.addr, page_size,
662 rq->buff.map_dir);

 > 663		 __free_pages(rq->wqe_overflow.page, page_order);

664 }
665

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki