Re: [PATCH] x86/pci-dma: swiotlb: Fix a regression since 5.19.0 about iommu=soft kernel parameter
From: Julien ROBIN
Date: Fri Feb 13 2026 - 14:20:56 EST
Hi kernel test robot and other folks,
Yes, my mistake, 'x86_soft_iommu_only' should have been static; I did the mistake by doing like what I saw around (but the new variable isn't used outside of its 'pci-dma.c' file). Sorry for having done this mistake in a so small patch.
I'll be sending a corrected version of this patch quickly.
Best regards,
Julien ROBIN
On 13/02/2026 3:51 PM, kernel test robot wrote:
> 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
> [...]
>
> sparse warnings: (new ones prefixed by >>)
>>> arch/x86/kernel/pci-dma.c:37:5: sparse: sparse: symbol 'x86_soft_iommu_only' was not declared. Should it be static?