mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dragos Tatulea <dtatulea@nvidia.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	Paolo Abeni <pabeni@redhat.com>, Tariq Toukan <tariqt@nvidia.com>
Subject: drivers/net/ethernet/mellanox/mlx5/core/en_main.c:663 mlx5e_free_mpwqe_rq_drop_page() warn: inconsistent indenting
Date: Tue, 14 Jul 2026 23:32:08 +0800	[thread overview]
Message-ID: <202607142323.qm25Crps-lkp@intel.com> (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/202607142323.qm25Crps-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607142323.qm25Crps-lkp@intel.com/

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

                 reply	other threads:[~2026-07-14 15:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202607142323.qm25Crps-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dtatulea@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pabeni@redhat.com \
    --cc=tariqt@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome