[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202504062027.LGAqKFlO-lkp@intel.com>
Date: Sun, 6 Apr 2025 20:20:33 +0800
From: kernel test robot <lkp@...el.com>
To: Robin Murphy <robin.murphy@....com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Jason Gunthorpe <jgg@...pe.ca>, Kevin Tian <kevin.tian@...el.com>,
Nicolin Chen <nicolinc@...dia.com>
Subject: drivers/iommu/dma-iommu.c:1776:2-3: Unneeded semicolon
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@...el.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
Powered by blists - more mailing lists