Loading
x86/cpu/zhaoxin: kx-40000: Apply the static modifier to some symbols
zhaoxin inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9RPB1 CVE: NA ----------------- Fix the sparse warnings: sparse warnings: (new ones prefixed by >>) >> arch/x86/kernel/zhaoxin_kh40000.c:35:15: sparse: sparse: symbol 'zhaoxin_patch_code' was not declared. Should it be static? >> arch/x86/kernel/zhaoxin_kh40000.c:322:26: sparse: sparse: symbol 'kh40000_dma_iommu_ops' was not declared. Should it be static? Fixes: 4332dbb0 ("Add kh40000_direct_dma_ops for KH-40000 platform") Reported-by:kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202405311319.BzJDMWBG-lkp@intel.com/ Closes: https://lore.kernel.org/oe-kbuild-all/202405311417.Uc6n3wMh-lkp@intel.com/ Signed-off-by:
leoliu-oc <leoliu-oc@zhaoxin.com>