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]
Date:   Wed, 30 Mar 2022 15:13:52 -0700
From:   Suren Baghdasaryan <surenb@...gle.com>
To:     kernel test robot <lkp@...el.com>
Cc:     Charan Teja Reddy <charante@...eaurora.org>, llvm@...ts.linux.dev,
        kbuild-all@...ts.01.org,
        "GNU/Weeb Mailing List" <gwml@...r.gnuweeb.org>,
        LKML <linux-kernel@...r.kernel.org>
Subject: Re: [ammarfaizi2-block:google/android/kernel/common/android12-trusty-5.10
 5835/5872] mm/compaction.c:766:15: error: redefinition of 'isolate_and_split_free_page'

On Tue, Mar 29, 2022 at 11:32 PM kernel test robot <lkp@...el.com> wrote:
>
> tree:   https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android12-trusty-5.10
> head:   07055bfd3d810d41a38354693dfaa55a6f8c0025
> commit: 8cd9aa93b7269460e8d5e4407738f21fe5d6e720 [5835/5872] ANDROID: implement wrapper for reverse migration
> config: arm64-randconfig-r036-20220327 (https://download.01.org/0day-ci/archive/20220330/202203301416.uykWxBeR-lkp@intel.com/config)
> compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0f6d9501cf49ce02937099350d08f20c4af86f3d)
> 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
>         # install arm64 cross compiling tool for clang build
>         # apt-get install binutils-aarch64-linux-gnu
>         # https://github.com/ammarfaizi2/linux-block/commit/8cd9aa93b7269460e8d5e4407738f21fe5d6e720
>         git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
>         git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android12-trusty-5.10
>         git checkout 8cd9aa93b7269460e8d5e4407738f21fe5d6e720
>         # save the config file to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 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 errors (new ones prefixed by >>):
>
> >> mm/compaction.c:766:15: error: redefinition of 'isolate_and_split_free_page'
>    unsigned long isolate_and_split_free_page(struct page *page,
>                  ^
>    include/linux/compaction.h:241:22: note: previous definition is here
>    static unsigned long isolate_and_split_free_page(struct page *page,
>                         ^
>    1 error generated.
>

This issue has been fixed by
https://android-review.googlesource.com/c/kernel/common/+/1685698


>
> vim +/isolate_and_split_free_page +766 mm/compaction.c
>
>    765
>  > 766  unsigned long isolate_and_split_free_page(struct page *page,
>    767                                                  struct list_head *list)
>    768  {
>    769          unsigned long isolated;
>    770          unsigned int order;
>    771
>    772          if (!PageBuddy(page))
>    773                  return 0;
>    774
>    775          order = buddy_order(page);
>    776          isolated = __isolate_free_page(page, order);
>    777          if (!isolated)
>    778                  return 0;
>    779
>    780          set_page_private(page, order);
>    781          list_add(&page->lru, list);
>    782
>    783          split_map_pages(list);
>    784
>    785          return isolated;
>    786  }
>    787  EXPORT_SYMBOL_GPL(isolate_and_split_free_page);
>    788
>
> --
> 0-DAY CI Kernel Test Service
> https://01.org/lkp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ