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] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 7 Jul 2017 09:54:41 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Roman Gushchin <guro@...com>
Cc:     kbuild-all@...org, linux-mm@...ck.org,
        Roman Gushchin <guro@...com>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Mel Gorman <mgorman@...hsingularity.net>,
        Johannes Weiner <hannes@...xchg.org>,
        Michal Hocko <mhocko@...e.com>,
        Vladimir Davydov <vdavydov.dev@...il.com>,
        Rik van Riel <riel@...hat.com>, kernel-team@...com,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: make allocation counters per-order

Hi Roman,

[auto build test ERROR on mmotm/master]
[also build test ERROR on next-20170706]
[cannot apply to v4.12]
[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/Roman-Gushchin/mm-make-allocation-counters-per-order/20170707-091630
base:   git://git.cmpxchg.org/linux-mmotm.git master
config: x86_64-randconfig-x019-201727 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   mm/vmstat.c: In function 'allocinfo_show':
>> mm/vmstat.c:1513:2: error: implicit declaration of function 'sum_vm_events' [-Werror=implicit-function-declaration]
     sum_vm_events(allocs, PGALLOC_FIRST_ZONE, PGALLOC_EVENTS_SIZE);
     ^~~~~~~~~~~~~
   At top level:
   mm/vmstat.c:1491:13: warning: 'sum_alloc_events' defined but not used [-Wunused-function]
    static void sum_alloc_events(unsigned long *v)
                ^~~~~~~~~~~~~~~~
   Cyclomatic Complexity 5 include/linux/compiler.h:__read_once_size
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:fls64
   Cyclomatic Complexity 1 include/linux/log2.h:__ilog2_u64
   Cyclomatic Complexity 1 include/asm-generic/getorder.h:__get_order
   Cyclomatic Complexity 2 arch/x86/include/asm/jump_label.h:arch_static_branch
   Cyclomatic Complexity 1 arch/x86/include/asm/atomic64_64.h:atomic64_read
   Cyclomatic Complexity 1 include/asm-generic/atomic-long.h:atomic_long_read
   Cyclomatic Complexity 1 include/linux/math64.h:div_u64_rem
   Cyclomatic Complexity 1 include/linux/math64.h:div_u64
   Cyclomatic Complexity 1 include/linux/err.h:ERR_PTR
   Cyclomatic Complexity 1 include/linux/spinlock.h:spinlock_check
   Cyclomatic Complexity 1 include/linux/spinlock.h:spin_unlock_irqrestore
   Cyclomatic Complexity 1 include/linux/nodemask.h:node_state
   Cyclomatic Complexity 1 include/linux/mmzone.h:zone_end_pfn
   Cyclomatic Complexity 1 include/linux/mmzone.h:populated_zone
   Cyclomatic Complexity 2 include/linux/mmzone.h:__nr_to_section
   Cyclomatic Complexity 1 include/linux/mmzone.h:__section_mem_map_addr
   Cyclomatic Complexity 3 include/linux/mmzone.h:valid_section
   Cyclomatic Complexity 1 include/linux/mmzone.h:__pfn_to_section
   Cyclomatic Complexity 2 include/linux/mmzone.h:pfn_valid
   Cyclomatic Complexity 1 include/linux/mmzone.h:memmap_valid_within
   Cyclomatic Complexity 1 include/linux/mm.h:page_zonenum
   Cyclomatic Complexity 1 include/linux/mm.h:page_zone
   Cyclomatic Complexity 1 include/linux/mm.h:page_to_section
   Cyclomatic Complexity 1 include/linux/vmstat.h:global_page_state
   Cyclomatic Complexity 1 include/linux/vmstat.h:global_node_page_state
   Cyclomatic Complexity 1 include/linux/vmstat.h:zone_page_state
   Cyclomatic Complexity 28 include/linux/slab.h:kmalloc_index
   Cyclomatic Complexity 68 include/linux/slab.h:kmalloc_large
   Cyclomatic Complexity 5 include/linux/slab.h:kmalloc
   Cyclomatic Complexity 1 include/linux/cpu.h:cpus_read_lock
   Cyclomatic Complexity 1 include/linux/cpu.h:cpus_read_unlock
   Cyclomatic Complexity 1 include/linux/cpu.h:get_online_cpus
   Cyclomatic Complexity 1 include/linux/cpu.h:put_online_cpus
   Cyclomatic Complexity 1 include/linux/proc_fs.h:proc_create
   Cyclomatic Complexity 3 mm/vmstat.c:fill_contig_page_info
   Cyclomatic Complexity 3 mm/vmstat.c:__fragmentation_index
   Cyclomatic Complexity 1 mm/vmstat.c:frag_stop
   Cyclomatic Complexity 6 mm/vmstat.c:walk_zones_in_node
   Cyclomatic Complexity 1 mm/vmstat.c:frag_show
   Cyclomatic Complexity 3 mm/vmstat.c:is_zone_first_populated
   Cyclomatic Complexity 1 mm/vmstat.c:zoneinfo_show
   Cyclomatic Complexity 2 mm/vmstat.c:allocinfo_start
   Cyclomatic Complexity 1 mm/vmstat.c:allocinfo_next
   Cyclomatic Complexity 1 mm/vmstat.c:allocinfo_stop
   Cyclomatic Complexity 3 mm/vmstat.c:vmstat_next
   Cyclomatic Complexity 2 mm/vmstat.c:unusable_free_index
   Cyclomatic Complexity 2 mm/vmstat.c:unusable_show
   Cyclomatic Complexity 1 mm/vmstat.c:extfrag_show
   Cyclomatic Complexity 1 mm/vmstat.c:zoneinfo_open
   Cyclomatic Complexity 1 mm/vmstat.c:vmstat_open
   Cyclomatic Complexity 1 mm/vmstat.c:pagetypeinfo_open
   Cyclomatic Complexity 1 mm/vmstat.c:allocinfo_open
   Cyclomatic Complexity 1 mm/vmstat.c:fragmentation_open
   Cyclomatic Complexity 1 mm/vmstat.c:extfrag_open
   Cyclomatic Complexity 1 mm/vmstat.c:unusable_open
   Cyclomatic Complexity 7 mm/vmstat.c:zoneinfo_show_print
   Cyclomatic Complexity 2 mm/vmstat.c:pagetypeinfo_showfree
   Cyclomatic Complexity 4 mm/vmstat.c:pagetypeinfo_showfree_print
   Cyclomatic Complexity 2 mm/vmstat.c:pagetypeinfo_showblockcount
   Cyclomatic Complexity 2 mm/vmstat.c:frag_show_print
   Cyclomatic Complexity 2 mm/vmstat.c:extfrag_show_print
   Cyclomatic Complexity 2 mm/vmstat.c:unusable_show_print
   Cyclomatic Complexity 1 mm/vmstat.c:frag_next
   Cyclomatic Complexity 2 mm/vmstat.c:frag_start
   Cyclomatic Complexity 4 mm/vmstat.c:vmstat_show
   Cyclomatic Complexity 1 mm/vmstat.c:vmstat_stop
   Cyclomatic Complexity 5 mm/vmstat.c:vmstat_start
   Cyclomatic Complexity 8 mm/vmstat.c:pagetypeinfo_showblockcount_print
   Cyclomatic Complexity 3 mm/vmstat.c:pagetypeinfo_showmixedcount
   Cyclomatic Complexity 2 mm/vmstat.c:pagetypeinfo_show
   Cyclomatic Complexity 4 mm/vmstat.c:allocinfo_show
   Cyclomatic Complexity 4 mm/vmstat.c:extfrag_debug_init
   Cyclomatic Complexity 1 mm/vmstat.c:fragmentation_index
   Cyclomatic Complexity 1 mm/vmstat.c:init_mm_internals
   cc1: some warnings being treated as errors

vim +/sum_vm_events +1513 mm/vmstat.c

  1507		int zid;
  1508	
  1509		if (arg != SEQ_START_TOKEN)
  1510			return 0;
  1511	
  1512		get_online_cpus();
> 1513		sum_vm_events(allocs, PGALLOC_FIRST_ZONE, PGALLOC_EVENTS_SIZE);
  1514		put_online_cpus();
  1515	
  1516		for (zid = 0; zid < MAX_NR_ZONES; ++zid) {

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

Download attachment ".config.gz" of type "application/gzip" (29631 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ