summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorYu Zhang <zhangyu1@linux.microsoft.com>2026-10-15 16:23:51 +0800
committerJoerg Roedel <joerg.roedel@amd.com>2026-10-15 17:50:57 +0200
commit1e7c4390c023841e5232922117a4347275bc8c73 (patch)
treefed37f496622c2e53e9967a76d0a8875f074765f /rust/kernel/alloc/kvec/errors.rs
parent36f115d23fb1bdb2f0a4c0d8e31727af42b312d4 (diff)
iommu/hyperv: Make hv_iommu_device static
Make hv_iommu_device static to give it internal linkage. This pointer is only used within hv-iommu-guest.c, but previously has external linkage without a prior declaration. This causes sparse to warn that the symbol was not declared. Fixes: 2690d4156b51 ("iommu/hyperv: Add para-virtualized IOMMU support for Hyper-V guest") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202610092126.TuSXnTYR-lkp@intel.com/ Signed-off-by: Yu Zhang <zhangyu1@linux.microsoft.com> Reviewed-by: Jacob Pan <jacob.pan@linux.microsoft.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions