mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/iommu/dma-iommu.c:1776:2-3: Unneeded semicolon
@ 2025-04-06 12:20 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-04-06 12:20 UTC (permalink / raw)
  To: Robin Murphy
  Cc: oe-kbuild-all, linux-kernel, Jason Gunthorpe, Kevin Tian, Nicolin Chen

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f4d2ef48250ad057e4f00087967b5ff366da9f39
commit: 6aa63a4ec947f350d1a2f9f6aba8591a2455d192 iommu: Sort out domain user data
date:   12 days ago
config: arm64-randconfig-r053-20250406 (https://download.01.org/0day-ci/archive/20250406/202504062027.LGAqKFlO-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)

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
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504062027.LGAqKFlO-lkp@intel.com/

cocci warnings: (new ones prefixed by >>)
>> drivers/iommu/dma-iommu.c:1776:2-3: Unneeded semicolon
   drivers/iommu/dma-iommu.c:1788:2-3: Unneeded semicolon

vim +1776 drivers/iommu/dma-iommu.c

  1766	
  1767	static size_t cookie_msi_granule(const struct iommu_domain *domain)
  1768	{
  1769		switch (domain->cookie_type) {
  1770		case IOMMU_COOKIE_DMA_IOVA:
  1771			return domain->iova_cookie->iovad.granule;
  1772		case IOMMU_COOKIE_DMA_MSI:
  1773			return PAGE_SIZE;
  1774		default:
  1775			unreachable();
> 1776		};
  1777	}
  1778	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-04-06 12:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-06 12:20 drivers/iommu/dma-iommu.c:1776:2-3: Unneeded semicolon kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®