Hi Ong,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.9-rc5 next-20161116]
[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/Ong-Hean-Loong/fbdev-add-Intel-FPGA-FRAME-BUFFER-driver/20161116-173833
config: blackfin-allmodconfig (attached as .config)
compiler: bfin-uclinux-gcc (GCC) 6.2.0
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=blackfin 

All errors (new ones prefixed by >>):

   mm/compaction.c: In function 'isolate_migratepages_block':
>> mm/compaction.c:821:9: error: implicit declaration of function 
>> 'isolate_movable_page' [-Werror=implicit-function-declaration]
        if (isolate_movable_page(page, isolate_mode))
            ^~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
   In file included from mm/cma.c:28:0:
>> include/linux/memblock.h:425:15: error: unknown type name 'phys_addr_t'
    static inline phys_addr_t memblock_alloc(phys_addr_t size, phys_addr_t 
align)
                  ^~~~~~~~~~~
   include/linux/memblock.h:425:42: error: unknown type name 'phys_addr_t'
    static inline phys_addr_t memblock_alloc(phys_addr_t size, phys_addr_t 
align)
                                             ^~~~~~~~~~~
   include/linux/memblock.h:425:60: error: unknown type name 'phys_addr_t'
    static inline phys_addr_t memblock_alloc(phys_addr_t size, phys_addr_t 
align)
                                                               ^~~~~~~~~~~
   mm/cma.c: In function 'cma_init_reserved_mem':
>> mm/cma.c:182:16: error: implicit declaration of function 
>> 'memblock_is_region_reserved' [-Werror=implicit-function-declaration]
     if (!size || !memblock_is_region_reserved(base, size))
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   mm/cma.c: In function 'cma_declare_contiguous':
>> mm/cma.c:234:29: error: implicit declaration of function 
>> 'memblock_end_of_DRAM' [-Werror=implicit-function-declaration]
     phys_addr_t memblock_end = memblock_end_of_DRAM();
                                ^~~~~~~~~~~~~~~~~~~~
>> mm/cma.c:305:7: error: implicit declaration of function 'memblock_reserve' 
>> [-Werror=implicit-function-declaration]
          memblock_reserve(base, size) < 0) {
          ^~~~~~~~~~~~~~~~
>> mm/cma.c:319:11: error: implicit declaration of function 
>> 'memblock_alloc_range' [-Werror=implicit-function-declaration]
       addr = memblock_alloc_range(size, alignment,
              ^~~~~~~~~~~~~~~~~~~~
>> mm/cma.c:321:11: error: 'MEMBLOCK_NONE' undeclared (first use in this 
>> function)
              MEMBLOCK_NONE);
              ^~~~~~~~~~~~~
   mm/cma.c:321:11: note: each undeclared identifier is reported only once for 
each function it appears in
   cc1: some warnings being treated as errors

vim +/isolate_movable_page +821 mm/compaction.c

bda807d4 Minchan Kim     2016-07-26  805                 * It's possible to 
migrate LRU and non-lru movable pages.
bda807d4 Minchan Kim     2016-07-26  806                 * Skip any other type 
of page
bda807d4 Minchan Kim     2016-07-26  807                 */
bda807d4 Minchan Kim     2016-07-26  808                if (!PageLRU(page)) {
bda807d4 Minchan Kim     2016-07-26  809                        /*
bda807d4 Minchan Kim     2016-07-26  810                         * 
__PageMovable can return false positive so we need
bda807d4 Minchan Kim     2016-07-26  811                         * to verify it 
under page_lock.
bda807d4 Minchan Kim     2016-07-26  812                         */
bda807d4 Minchan Kim     2016-07-26  813                        if 
(unlikely(__PageMovable(page)) &&
bda807d4 Minchan Kim     2016-07-26  814                                        
!PageIsolated(page)) {
bda807d4 Minchan Kim     2016-07-26  815                                if 
(locked) {
a52633d8 Mel Gorman      2016-07-28  816                                        
spin_unlock_irqrestore(zone_lru_lock(zone),
bda807d4 Minchan Kim     2016-07-26  817                                        
                                flags);
bda807d4 Minchan Kim     2016-07-26  818                                        
locked = false;
bda807d4 Minchan Kim     2016-07-26  819                                }
bda807d4 Minchan Kim     2016-07-26  820  
bda807d4 Minchan Kim     2016-07-26 @821                                if 
(isolate_movable_page(page, isolate_mode))
bda807d4 Minchan Kim     2016-07-26  822                                        
goto isolate_success;
bda807d4 Minchan Kim     2016-07-26  823                        }
bda807d4 Minchan Kim     2016-07-26  824  
fdd048e1 Vlastimil Babka 2016-05-19  825                        goto 
isolate_fail;
bda807d4 Minchan Kim     2016-07-26  826                }
29c0dde8 Vlastimil Babka 2015-09-08  827  
119d6d59 David Rientjes  2014-04-03  828                /*
119d6d59 David Rientjes  2014-04-03  829                 * Migration will fail 
if an anonymous page is pinned in memory,

:::::: The code at line 821 was first introduced by commit
:::::: bda807d4445414e8e77da704f116bb0880fe0c76 mm: migrate: support non-lru 
movable page migration

:::::: TO: Minchan Kim <[email protected]>
:::::: CC: Linus Torvalds <[email protected]>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to