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>] [day] [month] [year] [list]
Date:   Wed, 9 Mar 2022 14:51:00 +0800
From:   kernel test robot <lkp@...el.com>
To:     Laura Abbott <lauraa@...eaurora.org>
Cc:     kbuild-all@...ts.01.org,
        GNU/Weeb Mailing List <gwml@...r.gnuweeb.org>,
        linux-kernel@...r.kernel.org,
        Saravana Kannan <saravanak@...gle.com>,
        Patrick Daly <pdaly@...eaurora.org>,
        Mark Salyzyn <salyzyn@...gle.com>
Subject: [ammarfaizi2-block:google/android/kernel/common/android-4.19-stable
 551/9999] arch/arm64/mm/mmu.c:80:13: warning: no previous prototype for
 'dma_contiguous_early_fixup'

tree:   https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android-4.19-stable
head:   3fba6c6e70994eff4dcc5be475c9d2bd3848b83d
commit: 0a85ff1b796eade4d8867982209c5cba8078b940 [551/9999] ANDROID: GKI: arm64: Support early fixup for CMA
config: arm64-randconfig-r033-20220308 (https://download.01.org/0day-ci/archive/20220309/202203091423.BhhlT2nM-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/ammarfaizi2/linux-block/commit/0a85ff1b796eade4d8867982209c5cba8078b940
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android-4.19-stable
        git checkout 0a85ff1b796eade4d8867982209c5cba8078b940
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

>> arch/arm64/mm/mmu.c:80:13: warning: no previous prototype for 'dma_contiguous_early_fixup' [-Wmissing-prototypes]
      80 | void __init dma_contiguous_early_fixup(phys_addr_t base, unsigned long size)
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/arm64/mm/mmu.c:806:6: warning: no previous prototype for 'vmemmap_free' [-Wmissing-prototypes]
     806 | void vmemmap_free(unsigned long start, unsigned long end,
         |      ^~~~~~~~~~~~
   arch/arm64/mm/mmu.c:969:12: warning: no previous prototype for 'arch_ioremap_p4d_supported' [-Wmissing-prototypes]
     969 | int __init arch_ioremap_p4d_supported(void)
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/dma_contiguous_early_fixup +80 arch/arm64/mm/mmu.c

    79	
  > 80	void __init dma_contiguous_early_fixup(phys_addr_t base, unsigned long size)
    81	{
    82		if (dma_mmu_remap_num >= ARRAY_SIZE(dma_mmu_remap)) {
    83			pr_err("ARM64: Not enough slots for DMA fixup reserved regions!\n");
    84			return;
    85		}
    86		dma_mmu_remap[dma_mmu_remap_num].base = base;
    87		dma_mmu_remap[dma_mmu_remap_num].size = size;
    88		dma_mmu_remap_num++;
    89	}
    90	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ