[PATCH v2 2/3] mm: Change the interface for __tlb_remove_page

kbuild test robot lkp at intel.com
Sat Jun 4 02:01:45 AEST 2016


Hi,

[auto build test ERROR on arm/for-next]
[also build test ERROR on v4.7-rc1 next-20160603]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Aneesh-Kumar-K-V/mm-hugetlb-Simplify-hugetlb-unmap/20160603-211611
base:   http://repo.or.cz/linux-2.6/linux-2.6-arm.git for-next
config: sh-titan_defconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=sh 

Note: the linux-review/Aneesh-Kumar-K-V/mm-hugetlb-Simplify-hugetlb-unmap/20160603-211611 HEAD d6ef168b95ef6261d48eff011e532d6a8798f4cd builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   mm/memory.c: In function 'zap_pte_range':
>> mm/memory.c:1210:4: error: implicit declaration of function '__tlb_adjust_range' [-Werror=implicit-function-declaration]
       __tlb_adjust_range(tlb, tlb->addr);
       ^
>> mm/memory.c:1210:31: error: 'struct mmu_gather' has no member named 'addr'
       __tlb_adjust_range(tlb, tlb->addr);
                                  ^
   cc1: some warnings being treated as errors

vim +/__tlb_adjust_range +1210 mm/memory.c

  1204		 */
  1205		if (force_flush) {
  1206			force_flush = 0;
  1207			tlb_flush_mmu_free(tlb);
  1208			if (pending_page) {
  1209				/* remove the page with new size */
> 1210				__tlb_adjust_range(tlb, tlb->addr);
  1211				__tlb_remove_page(tlb, pending_page);
  1212				pending_page = NULL;
  1213			}

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 16154 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20160604/5672d1da/attachment.obj>


More information about the Linuxppc-dev mailing list