lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <DBBPR08MB45389EB25B0C89853366E5D2F784A@DBBPR08MB4538.eurprd08.prod.outlook.com>
Date:   Wed, 6 Dec 2023 13:03:03 +0000
From:   Justin He <Justin.He@....com>
To:     kernel test robot <lkp@...el.com>
CC:     "oe-kbuild-all@...ts.linux.dev" <oe-kbuild-all@...ts.linux.dev>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Christoph Hellwig <hch@....de>, nd <nd@....com>
Subject: RE: ERROR: modpost: vmlinux: local symbol 'dma_addressing_limited'
 was exported



> -----Original Message-----
> From: kernel test robot <lkp@...el.com>
> Sent: Wednesday, December 6, 2023 1:15 PM
> To: Justin He <Justin.He@....com>
> Cc: oe-kbuild-all@...ts.linux.dev; linux-kernel@...r.kernel.org; Christoph
> Hellwig <hch@....de>
> Subject: ERROR: modpost: vmlinux: local symbol 'dma_addressing_limited'
> was exported
[...]
> ERROR: modpost: vmlinux: local symbol 'dma_sync_single_for_device' was
> exported
> ERROR: modpost: vmlinux: local symbol 'dma_sync_sg_for_cpu' was exported
> ERROR: modpost: vmlinux: local symbol 'dma_sync_sg_for_device' was
> exported
> ERROR: modpost: vmlinux: local symbol 'dma_get_sgtable_attrs' was exported
> ERROR: modpost: vmlinux: local symbol 'dma_can_mmap' was exported
> ERROR: modpost: vmlinux: local symbol 'dma_mmap_attrs' was exported
> ERROR: modpost: vmlinux: local symbol 'dma_get_required_mask' was
> exported
> ERROR: modpost: vmlinux: local symbol 'dma_alloc_attrs' was exported
> ERROR: modpost: vmlinux: local symbol 'dma_free_attrs' was exported
> ERROR: modpost: vmlinux: local symbol 'dma_alloc_pages' was exported
> ERROR: modpost: vmlinux: local symbol 'dma_free_pages' was exported
> ERROR: modpost: vmlinux: local symbol 'dma_mmap_pages' was exported
> ERROR: modpost: vmlinux: local symbol 'dma_alloc_noncontiguous' was
> exported
> ERROR: modpost: vmlinux: local symbol 'dma_free_noncontiguous' was
> exported
> ERROR: modpost: vmlinux: local symbol 'dma_vmap_noncontiguous' was
> exported
> ERROR: modpost: vmlinux: local symbol 'dma_vunmap_noncontiguous' was
> exported
> ERROR: modpost: vmlinux: local symbol 'dma_mmap_noncontiguous' was
> exported
> ERROR: modpost: vmlinux: local symbol 'dma_pci_p2pdma_supported' was
> exported
> ERROR: modpost: vmlinux: local symbol 'dma_set_mask' was exported
> ERROR: modpost: vmlinux: local symbol 'dma_set_coherent_mask' was
> exported
> >> ERROR: modpost: vmlinux: local symbol 'dma_addressing_limited' was
> >> exported
Since the dma_set_mask/ dma_set_coherent_mask was also in the error list, can I
consider it as a false positive warning?

Besides, I followed the reproducing instructions and got:
# nm build_dir/vmlinux |grep dma_addressing_limited
ffffffff81b2a974 r __crc_dma_addressing_limited
ffffffff8008ac36 T dma_addressing_limited
ffffffff81b330b5 r __kstrtab_dma_addressing_limited
ffffffff81b4e5f2 r __kstrtabns_dma_addressing_limited
ffffffff81b0aec0 r __ksymtab_dma_addressing_limited
Seems dma_addressing_limited is not a local symbol, is it?

--
Cheers,
Justin (Jia He)


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ