[vhost:linux-next 16/17] include/linux/page_reporting.h:9:34: note: in expansion of macro 'pageblock_order'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/mst/vhost.git linux-next
head:   39c226b6b576b23d6d558331e6895f02b0892555
commit: 990055c63121520ad29deca72b1167b392563ddd [16/17] virtio-balloon: Add support for providing unused page reports to host
config: riscv-allmodconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 990055c63121520ad29deca72b1167b392563ddd
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=riscv 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

   In file included from arch/riscv/include/asm/thread_info.h:11:0,
                    from include/linux/thread_info.h:38,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/riscv/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:78,
                    from include/linux/radix-tree.h:14,
                    from include/linux/idr.h:15,
                    from include/linux/kernfs.h:13,
                    from include/linux/sysfs.h:16,
                    from include/linux/kobject.h:20,
                    from include/linux/device.h:16,
                    from drivers/scsi/snic/snic_attrs.c:19:
   include/linux/page_reporting.h: In function '__del_page_from_reported_list':
   arch/riscv/include/asm/page.h:24:22: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'NMI_SHIFT'?
    #define HPAGE_SHIFT  PMD_SHIFT
                         ^
   arch/riscv/include/asm/page.h:27:34: note: in expansion of macro 'HPAGE_SHIFT'
    #define HUGETLB_PAGE_ORDER      (HPAGE_SHIFT - PAGE_SHIFT)
                                     ^~~~~~~~~~~
   include/linux/pageblock-flags.h:41:26: note: in expansion of macro 'HUGETLB_PAGE_ORDER'
    #define pageblock_order  HUGETLB_PAGE_ORDER
                             ^~~~~~~~~~~~~~~~~~
>> include/linux/page_reporting.h:9:34: note: in expansion of macro 'pageblock_order'
    #define PAGE_REPORTING_MIN_ORDER pageblock_order
                                     ^~~~~~~~~~~~~~~
   include/linux/page_reporting.h:61:44: note: in expansion of macro 'PAGE_REPORTING_MIN_ORDER'
     zone->reported_pages[page_private(page) - PAGE_REPORTING_MIN_ORDER]--;
                                               ^~~~~~~~~~~~~~~~~~~~~~~~
   arch/riscv/include/asm/page.h:24:22: note: each undeclared identifier is reported only once for each function it appears in
    #define HPAGE_SHIFT  PMD_SHIFT
                         ^
   arch/riscv/include/asm/page.h:27:34: note: in expansion of macro 'HPAGE_SHIFT'
    #define HUGETLB_PAGE_ORDER      (HPAGE_SHIFT - PAGE_SHIFT)
                                     ^~~~~~~~~~~
   include/linux/pageblock-flags.h:41:26: note: in expansion of macro 'HUGETLB_PAGE_ORDER'
    #define pageblock_order  HUGETLB_PAGE_ORDER
                             ^~~~~~~~~~~~~~~~~~
>> include/linux/page_reporting.h:9:34: note: in expansion of macro 'pageblock_order'
    #define PAGE_REPORTING_MIN_ORDER pageblock_order
                                     ^~~~~~~~~~~~~~~
   include/linux/page_reporting.h:61:44: note: in expansion of macro 'PAGE_REPORTING_MIN_ORDER'
     zone->reported_pages[page_private(page) - PAGE_REPORTING_MIN_ORDER]--;
                                               ^~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/page_reporting.h: In function 'get_unreported_tail':
   arch/riscv/include/asm/page.h:24:22: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'NMI_SHIFT'?
    #define HPAGE_SHIFT  PMD_SHIFT
                         ^
   arch/riscv/include/asm/page.h:27:34: note: in expansion of macro 'HPAGE_SHIFT'
    #define HUGETLB_PAGE_ORDER      (HPAGE_SHIFT - PAGE_SHIFT)
                                     ^~~~~~~~~~~
   include/linux/pageblock-flags.h:41:26: note: in expansion of macro 'HUGETLB_PAGE_ORDER'
    #define pageblock_order  HUGETLB_PAGE_ORDER
                             ^~~~~~~~~~~~~~~~~~
>> include/linux/page_reporting.h:9:34: note: in expansion of macro 'pageblock_order'
    #define PAGE_REPORTING_MIN_ORDER pageblock_order
                                     ^~~~~~~~~~~~~~~
   include/linux/page_reporting.h:77:15: note: in expansion of macro 'PAGE_REPORTING_MIN_ORDER'
     if (order >= PAGE_REPORTING_MIN_ORDER &&
                  ^~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/page_reporting.h: In function 'add_page_to_reported_list':
   arch/riscv/include/asm/page.h:24:22: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'NMI_SHIFT'?
    #define HPAGE_SHIFT  PMD_SHIFT
                         ^
   arch/riscv/include/asm/page.h:27:34: note: in expansion of macro 'HPAGE_SHIFT'
    #define HUGETLB_PAGE_ORDER      (HPAGE_SHIFT - PAGE_SHIFT)
                                     ^~~~~~~~~~~
   include/linux/pageblock-flags.h:41:26: note: in expansion of macro 'HUGETLB_PAGE_ORDER'
    #define pageblock_order  HUGETLB_PAGE_ORDER
                             ^~~~~~~~~~~~~~~~~~
>> include/linux/page_reporting.h:9:34: note: in expansion of macro 'pageblock_order'
    #define PAGE_REPORTING_MIN_ORDER pageblock_order
                                     ^~~~~~~~~~~~~~~
   include/linux/page_reporting.h:99:31: note: in expansion of macro 'PAGE_REPORTING_MIN_ORDER'
     zone->reported_pages[order - PAGE_REPORTING_MIN_ORDER]++;
                                  ^~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/page_reporting.h: In function 'page_reporting_notify_free':
   arch/riscv/include/asm/page.h:24:22: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'NMI_SHIFT'?
    #define HPAGE_SHIFT  PMD_SHIFT
                         ^
   arch/riscv/include/asm/page.h:27:34: note: in expansion of macro 'HPAGE_SHIFT'
    #define HUGETLB_PAGE_ORDER      (HPAGE_SHIFT - PAGE_SHIFT)
                                     ^~~~~~~~~~~
   include/linux/pageblock-flags.h:41:26: note: in expansion of macro 'HUGETLB_PAGE_ORDER'
    #define pageblock_order  HUGETLB_PAGE_ORDER
                             ^~~~~~~~~~~~~~~~~~
>> include/linux/page_reporting.h:9:34: note: in expansion of macro 'pageblock_order'
    #define PAGE_REPORTING_MIN_ORDER pageblock_order
                                     ^~~~~~~~~~~~~~~
   include/linux/page_reporting.h:159:14: note: in expansion of macro 'PAGE_REPORTING_MIN_ORDER'
     if (order < PAGE_REPORTING_MIN_ORDER)
                 ^~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from include/linux/page_reporting.h:5:0,
                    from <command-line>:0:
   include/linux/mmzone.h: In function 'add_to_free_list_tail':
   include/linux/mmzone.h:791:27: error: implicit declaration of function 'get_unreported_tail' [-Werror=implicit-function-declaration]
     struct list_head *tail = get_unreported_tail(zone, order, migratetype);
                              ^~~~~~~~~~~~~~~~~~~
   include/linux/mmzone.h:791:27: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
   include/linux/mmzone.h: In function 'move_to_free_list':
   include/linux/mmzone.h:807:27: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
     struct list_head *tail = get_unreported_tail(zone, order, migratetype);
                              ^~~~~~~~~~~~~~~~~~~
   include/linux/mmzone.h:815:3: error: implicit declaration of function 'move_page_to_reported_list'; did you mean 'move_to_free_list'? [-Werror=implicit-function-declaration]
      move_page_to_reported_list(page, zone, migratetype);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
      move_to_free_list
   include/linux/mmzone.h: In function 'del_page_from_free_list':
   include/linux/mmzone.h:831:3: error: implicit declaration of function 'del_page_from_reported_list'; did you mean 'del_page_from_free_list'? [-Werror=implicit-function-declaration]
      del_page_from_reported_list(page, zone);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      del_page_from_free_list
   In file included from arch/riscv/include/asm/thread_info.h:11:0,
                    from include/linux/thread_info.h:38,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/riscv/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:78,
                    from include/linux/spinlock.h:51,
                    from include/linux/mmzone.h:8,
                    from include/linux/page_reporting.h:5,
                    from <command-line>:0:
   include/linux/page_reporting.h: In function '__del_page_from_reported_list':
   arch/riscv/include/asm/page.h:24:22: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'NMI_SHIFT'?
    #define HPAGE_SHIFT  PMD_SHIFT
                         ^
   arch/riscv/include/asm/page.h:27:34: note: in expansion of macro 'HPAGE_SHIFT'
    #define HUGETLB_PAGE_ORDER      (HPAGE_SHIFT - PAGE_SHIFT)
                                     ^~~~~~~~~~~
   include/linux/pageblock-flags.h:41:26: note: in expansion of macro 'HUGETLB_PAGE_ORDER'
    #define pageblock_order  HUGETLB_PAGE_ORDER
                             ^~~~~~~~~~~~~~~~~~
>> include/linux/page_reporting.h:9:34: note: in expansion of macro 'pageblock_order'
    #define PAGE_REPORTING_MIN_ORDER pageblock_order
                                     ^~~~~~~~~~~~~~~
   include/linux/page_reporting.h:61:44: note: in expansion of macro 'PAGE_REPORTING_MIN_ORDER'
     zone->reported_pages[page_private(page) - PAGE_REPORTING_MIN_ORDER]--;
                                               ^~~~~~~~~~~~~~~~~~~~~~~~
   arch/riscv/include/asm/page.h:24:22: note: each undeclared identifier is reported only once for each function it appears in
    #define HPAGE_SHIFT  PMD_SHIFT
                         ^
   arch/riscv/include/asm/page.h:27:34: note: in expansion of macro 'HPAGE_SHIFT'
    #define HUGETLB_PAGE_ORDER      (HPAGE_SHIFT - PAGE_SHIFT)
                                     ^~~~~~~~~~~
   include/linux/pageblock-flags.h:41:26: note: in expansion of macro 'HUGETLB_PAGE_ORDER'
    #define pageblock_order  HUGETLB_PAGE_ORDER
                             ^~~~~~~~~~~~~~~~~~
>> include/linux/page_reporting.h:9:34: note: in expansion of macro 'pageblock_order'
    #define PAGE_REPORTING_MIN_ORDER pageblock_order
                                     ^~~~~~~~~~~~~~~
   include/linux/page_reporting.h:61:44: note: in expansion of macro 'PAGE_REPORTING_MIN_ORDER'
     zone->reported_pages[page_private(page) - PAGE_REPORTING_MIN_ORDER]--;
                                               ^~~~~~~~~~~~~~~~~~~~~~~~
   In file included from <command-line>:0:0:
   include/linux/page_reporting.h: At top level:
   include/linux/page_reporting.h:74:1: error: conflicting types for 'get_unreported_tail'
    get_unreported_tail(struct zone *zone, unsigned int order, int migratetype)
    ^~~~~~~~~~~~~~~~~~~
   In file included from include/linux/page_reporting.h:5:0,
                    from <command-line>:0:
   include/linux/mmzone.h:791:27: note: previous implicit declaration of 'get_unreported_tail' was here
     struct list_head *tail = get_unreported_tail(zone, order, migratetype);
                              ^~~~~~~~~~~~~~~~~~~
   In file included from arch/riscv/include/asm/thread_info.h:11:0,
                    from include/linux/thread_info.h:38,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/riscv/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:78,
                    from include/linux/spinlock.h:51,
                    from include/linux/mmzone.h:8,
                    from include/linux/page_reporting.h:5,
                    from <command-line>:0:
   include/linux/page_reporting.h: In function 'get_unreported_tail':
   arch/riscv/include/asm/page.h:24:22: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'NMI_SHIFT'?
    #define HPAGE_SHIFT  PMD_SHIFT
                         ^
   arch/riscv/include/asm/page.h:27:34: note: in expansion of macro 'HPAGE_SHIFT'
    #define HUGETLB_PAGE_ORDER      (HPAGE_SHIFT - PAGE_SHIFT)
                                     ^~~~~~~~~~~
   include/linux/pageblock-flags.h:41:26: note: in expansion of macro 'HUGETLB_PAGE_ORDER'
    #define pageblock_order  HUGETLB_PAGE_ORDER
                             ^~~~~~~~~~~~~~~~~~
>> include/linux/page_reporting.h:9:34: note: in expansion of macro 'pageblock_order'
    #define PAGE_REPORTING_MIN_ORDER pageblock_order
                                     ^~~~~~~~~~~~~~~
   include/linux/page_reporting.h:77:15: note: in expansion of macro 'PAGE_REPORTING_MIN_ORDER'
     if (order >= PAGE_REPORTING_MIN_ORDER &&
                  ^~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/page_reporting.h: In function 'add_page_to_reported_list':
   arch/riscv/include/asm/page.h:24:22: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'NMI_SHIFT'?
    #define HPAGE_SHIFT  PMD_SHIFT
                         ^
   arch/riscv/include/asm/page.h:27:34: note: in expansion of macro 'HPAGE_SHIFT'
    #define HUGETLB_PAGE_ORDER      (HPAGE_SHIFT - PAGE_SHIFT)
                                     ^~~~~~~~~~~
   include/linux/pageblock-flags.h:41:26: note: in expansion of macro 'HUGETLB_PAGE_ORDER'
    #define pageblock_order  HUGETLB_PAGE_ORDER
                             ^~~~~~~~~~~~~~~~~~
>> include/linux/page_reporting.h:9:34: note: in expansion of macro 'pageblock_order'
    #define PAGE_REPORTING_MIN_ORDER pageblock_order
                                     ^~~~~~~~~~~~~~~
   include/linux/page_reporting.h:99:31: note: in expansion of macro 'PAGE_REPORTING_MIN_ORDER'
     zone->reported_pages[order - PAGE_REPORTING_MIN_ORDER]++;
                                  ^~~~~~~~~~~~~~~~~~~~~~~~
   In file included from <command-line>:0:0:
   include/linux/page_reporting.h: At top level:
   include/linux/page_reporting.h:106:20: warning: conflicting types for 'del_page_from_reported_list'
    static inline void del_page_from_reported_list(struct page *page,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/page_reporting.h:106:20: error: static declaration of 'del_page_from_reported_list' follows non-static declaration
   In file included from include/linux/page_reporting.h:5:0,
                    from <command-line>:0:
   include/linux/mmzone.h:831:3: note: previous implicit declaration of 'del_page_from_reported_list' was here
      del_page_from_reported_list(page, zone);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from <command-line>:0:0:
   include/linux/page_reporting.h:118:20: warning: conflicting types for 'move_page_to_reported_list'
    static inline void move_page_to_reported_list(struct page *page,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/page_reporting.h:118:20: error: static declaration of 'move_page_to_reported_list' follows non-static declaration
   In file included from include/linux/page_reporting.h:5:0,
                    from <command-line>:0:
   include/linux/mmzone.h:815:3: note: previous implicit declaration of 'move_page_to_reported_list' was here
      move_page_to_reported_list(page, zone, migratetype);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from arch/riscv/include/asm/thread_info.h:11:0,
                    from include/linux/thread_info.h:38,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/riscv/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:78,
                    from include/linux/spinlock.h:51,
                    from include/linux/mmzone.h:8,
                    from include/linux/page_reporting.h:5,
                    from <command-line>:0:
   include/linux/page_reporting.h: In function 'page_reporting_notify_free':
   arch/riscv/include/asm/page.h:24:22: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'NMI_SHIFT'?
    #define HPAGE_SHIFT  PMD_SHIFT
                         ^
   arch/riscv/include/asm/page.h:27:34: note: in expansion of macro 'HPAGE_SHIFT'
    #define HUGETLB_PAGE_ORDER      (HPAGE_SHIFT - PAGE_SHIFT)
                                     ^~~~~~~~~~~
   include/linux/pageblock-flags.h:41:26: note: in expansion of macro 'HUGETLB_PAGE_ORDER'
    #define pageblock_order  HUGETLB_PAGE_ORDER
                             ^~~~~~~~~~~~~~~~~~
>> include/linux/page_reporting.h:9:34: note: in expansion of macro 'pageblock_order'
    #define PAGE_REPORTING_MIN_ORDER pageblock_order
                                     ^~~~~~~~~~~~~~~
   include/linux/page_reporting.h:159:14: note: in expansion of macro 'PAGE_REPORTING_MIN_ORDER'
     if (order < PAGE_REPORTING_MIN_ORDER)
                 ^~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
   In file included from arch/riscv/include/asm/thread_info.h:11:0,
                    from include/linux/thread_info.h:38,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/riscv/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:78,
                    from include/linux/radix-tree.h:14,
                    from include/linux/idr.h:15,
                    from include/linux/kernfs.h:13,
                    from include/linux/sysfs.h:16,
                    from include/linux/kobject.h:20,
                    from include/linux/of.h:17,
                    from include/linux/irqdomain.h:35,
                    from include/linux/acpi.h:13,
                    from drivers/soundwire/slave.c:4:
   include/linux/page_reporting.h: In function '__del_page_from_reported_list':
   arch/riscv/include/asm/page.h:24:22: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'NMI_SHIFT'?
    #define HPAGE_SHIFT  PMD_SHIFT
                         ^
   arch/riscv/include/asm/page.h:27:34: note: in expansion of macro 'HPAGE_SHIFT'
    #define HUGETLB_PAGE_ORDER      (HPAGE_SHIFT - PAGE_SHIFT)
                                     ^~~~~~~~~~~
   include/linux/pageblock-flags.h:41:26: note: in expansion of macro 'HUGETLB_PAGE_ORDER'
    #define pageblock_order  HUGETLB_PAGE_ORDER
                             ^~~~~~~~~~~~~~~~~~
>> include/linux/page_reporting.h:9:34: note: in expansion of macro 'pageblock_order'
    #define PAGE_REPORTING_MIN_ORDER pageblock_order
                                     ^~~~~~~~~~~~~~~
   include/linux/page_reporting.h:61:44: note: in expansion of macro 'PAGE_REPORTING_MIN_ORDER'
     zone->reported_pages[page_private(page) - PAGE_REPORTING_MIN_ORDER]--;
                                               ^~~~~~~~~~~~~~~~~~~~~~~~
   arch/riscv/include/asm/page.h:24:22: note: each undeclared identifier is reported only once for each function it appears in
    #define HPAGE_SHIFT  PMD_SHIFT
                         ^
   arch/riscv/include/asm/page.h:27:34: note: in expansion of macro 'HPAGE_SHIFT'
    #define HUGETLB_PAGE_ORDER      (HPAGE_SHIFT - PAGE_SHIFT)
                                     ^~~~~~~~~~~
   include/linux/pageblock-flags.h:41:26: note: in expansion of macro 'HUGETLB_PAGE_ORDER'
    #define pageblock_order  HUGETLB_PAGE_ORDER
                             ^~~~~~~~~~~~~~~~~~
>> include/linux/page_reporting.h:9:34: note: in expansion of macro 'pageblock_order'
    #define PAGE_REPORTING_MIN_ORDER pageblock_order
                                     ^~~~~~~~~~~~~~~
   include/linux/page_reporting.h:61:44: note: in expansion of macro 'PAGE_REPORTING_MIN_ORDER'
     zone->reported_pages[page_private(page) - PAGE_REPORTING_MIN_ORDER]--;
                                               ^~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/page_reporting.h: In function 'get_unreported_tail':
   arch/riscv/include/asm/page.h:24:22: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'NMI_SHIFT'?
    #define HPAGE_SHIFT  PMD_SHIFT
                         ^
   arch/riscv/include/asm/page.h:27:34: note: in expansion of macro 'HPAGE_SHIFT'
    #define HUGETLB_PAGE_ORDER      (HPAGE_SHIFT - PAGE_SHIFT)
                                     ^~~~~~~~~~~
   include/linux/pageblock-flags.h:41:26: note: in expansion of macro 'HUGETLB_PAGE_ORDER'
    #define pageblock_order  HUGETLB_PAGE_ORDER
                             ^~~~~~~~~~~~~~~~~~
>> include/linux/page_reporting.h:9:34: note: in expansion of macro 'pageblock_order'
    #define PAGE_REPORTING_MIN_ORDER pageblock_order
                                     ^~~~~~~~~~~~~~~
   include/linux/page_reporting.h:77:15: note: in expansion of macro 'PAGE_REPORTING_MIN_ORDER'
     if (order >= PAGE_REPORTING_MIN_ORDER &&
                  ^~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/page_reporting.h: In function 'add_page_to_reported_list':
   arch/riscv/include/asm/page.h:24:22: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'NMI_SHIFT'?
    #define HPAGE_SHIFT  PMD_SHIFT
                         ^
   arch/riscv/include/asm/page.h:27:34: note: in expansion of macro 'HPAGE_SHIFT'
    #define HUGETLB_PAGE_ORDER      (HPAGE_SHIFT - PAGE_SHIFT)
                                     ^~~~~~~~~~~
   include/linux/pageblock-flags.h:41:26: note: in expansion of macro 'HUGETLB_PAGE_ORDER'
    #define pageblock_order  HUGETLB_PAGE_ORDER
                             ^~~~~~~~~~~~~~~~~~
>> include/linux/page_reporting.h:9:34: note: in expansion of macro 'pageblock_order'
    #define PAGE_REPORTING_MIN_ORDER pageblock_order
                                     ^~~~~~~~~~~~~~~
   include/linux/page_reporting.h:99:31: note: in expansion of macro 'PAGE_REPORTING_MIN_ORDER'
     zone->reported_pages[order - PAGE_REPORTING_MIN_ORDER]++;
                                  ^~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/page_reporting.h: In function 'page_reporting_notify_free':
   arch/riscv/include/asm/page.h:24:22: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'NMI_SHIFT'?
    #define HPAGE_SHIFT  PMD_SHIFT
                         ^
   arch/riscv/include/asm/page.h:27:34: note: in expansion of macro 'HPAGE_SHIFT'
    #define HUGETLB_PAGE_ORDER      (HPAGE_SHIFT - PAGE_SHIFT)
                                     ^~~~~~~~~~~
   include/linux/pageblock-flags.h:41:26: note: in expansion of macro 'HUGETLB_PAGE_ORDER'
    #define pageblock_order  HUGETLB_PAGE_ORDER
                             ^~~~~~~~~~~~~~~~~~
>> include/linux/page_reporting.h:9:34: note: in expansion of macro 'pageblock_order'
    #define PAGE_REPORTING_MIN_ORDER pageblock_order
                                     ^~~~~~~~~~~~~~~
   include/linux/page_reporting.h:159:14: note: in expansion of macro 'PAGE_REPORTING_MIN_ORDER'
     if (order < PAGE_REPORTING_MIN_ORDER)
                 ^~~~~~~~~~~~~~~~~~~~~~~~
   At top level:
   drivers/soundwire/slave.c:16:12: warning: 'sdw_slave_add' defined but not used [-Wunused-function]
    static int sdw_slave_add(struct sdw_bus *bus,
               ^~~~~~~~~~~~~

vim +/pageblock_order +9 include/linux/page_reporting.h

50ed0c2ecb2e25 Alexander Duyck 2019-09-07   8  
50ed0c2ecb2e25 Alexander Duyck 2019-09-07  @9  #define PAGE_REPORTING_MIN_ORDER	pageblock_order
50ed0c2ecb2e25 Alexander Duyck 2019-09-07  10  #define PAGE_REPORTING_HWM		32
50ed0c2ecb2e25 Alexander Duyck 2019-09-07  11  

:::::: The code at line 9 was first introduced by commit
:::::: 50ed0c2ecb2e254a50e4ad775840f29d42cf6c00 mm: Introduce Reported pages

:::::: TO: Alexander Duyck <alexander.h.duyck@xxxxxxxxxxxxxxx>
:::::: CC: Michael S. Tsirkin <mst@xxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux