Hi Mathieu,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v4.16 next-20180412]
[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/Mathieu-Malaterre/kernel-module-silence-a-gcc-warning/20180413-044304
config: x86_64-randconfig-h0-04130701 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   In file included from drivers//of/base.c:22:0:
>> include/linux/module.h:794:13: warning: 'struct tracepoint' declared inside 
>> parameter list will not be visible outside of this definition or declaration
         struct tracepoint * const *tp);
                ^~~~~~~~~~
   Cyclomatic Complexity 1 include/linux/ctype.h:isdigit
   Cyclomatic Complexity 5 include/linux/compiler.h:__write_once_size
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:fls
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:fls64
   Cyclomatic Complexity 1 include/uapi/linux/swab.h:__swab32p
   Cyclomatic Complexity 1 
include/uapi/linux/byteorder/little_endian.h:__be32_to_cpup
   Cyclomatic Complexity 1 include/linux/bitops.h:fls_long
   Cyclomatic Complexity 1 include/linux/log2.h:__ilog2_u32
   Cyclomatic Complexity 1 include/linux/log2.h:__ilog2_u64
   Cyclomatic Complexity 1 include/linux/log2.h:__roundup_pow_of_two
   Cyclomatic Complexity 2 include/linux/list.h:__list_add
   Cyclomatic Complexity 1 include/linux/list.h:list_add_tail
   Cyclomatic Complexity 1 include/asm-generic/getorder.h:__get_order
   Cyclomatic Complexity 2 include/linux/string.h:kbasename
   Cyclomatic Complexity 3 include/linux/string.h:strncpy
   Cyclomatic Complexity 1 include/linux/string.h:strnlen
   Cyclomatic Complexity 4 include/linux/string.h:strlen
   Cyclomatic Complexity 6 include/linux/string.h:strlcpy
   Cyclomatic Complexity 3 include/linux/string.h:memset
   Cyclomatic Complexity 2 include/linux/of.h:of_read_number
   Cyclomatic Complexity 1 include/linux/of.h:of_find_node_by_path
   Cyclomatic Complexity 2 include/linux/of.h:of_property_read_u32_array
   Cyclomatic Complexity 1 include/linux/of.h:of_property_read_bool
   Cyclomatic Complexity 1 include/linux/of.h:of_property_read_u32
   Cyclomatic Complexity 2 include/linux/of_device.h:of_cpu_device_node_get
   Cyclomatic Complexity 1 include/linux/kasan.h:kasan_kmalloc
   Cyclomatic Complexity 28 include/linux/slab.h:kmalloc_index
   Cyclomatic Complexity 1 include/linux/slab.h:kmem_cache_alloc_trace
   Cyclomatic Complexity 1 include/linux/slab.h:kmalloc_order_trace
   Cyclomatic Complexity 68 include/linux/slab.h:kmalloc_large
   Cyclomatic Complexity 5 include/linux/slab.h:kmalloc
   Cyclomatic Complexity 5 include/linux/slab.h:kmalloc_array
   Cyclomatic Complexity 1 include/linux/slab.h:kcalloc
   Cyclomatic Complexity 1 drivers//of/base.c:of_alias_add
   Cyclomatic Complexity 5 drivers//of/base.c:__of_find_property
   Cyclomatic Complexity 5 drivers//of/base.c:__of_get_next_child
   Cyclomatic Complexity 14 drivers//of/base.c:__of_device_is_compatible
   Cyclomatic Complexity 6 drivers//of/base.c:__of_match_node
   Cyclomatic Complexity 4 drivers//of/base.c:of_n_addr_cells
   Cyclomatic Complexity 4 drivers//of/base.c:of_n_size_cells
   Cyclomatic Complexity 1 drivers//of/base.c:of_find_property
   Cyclomatic Complexity 5 drivers//of/base.c:__of_find_all_nodes
   Cyclomatic Complexity 71 drivers//of/base.c:of_populate_phandle_cache
   Cyclomatic Complexity 4 drivers//of/base.c:of_core_init
   Cyclomatic Complexity 1 drivers//of/base.c:of_find_all_nodes
   Cyclomatic Complexity 2 drivers//of/base.c:__of_get_property
   Cyclomatic Complexity 6 drivers//of/base.c:__of_device_is_available
   Cyclomatic Complexity 2 drivers//of/base.c:of_get_property
   Cyclomatic Complexity 1 drivers//of/base.c:arch_match_cpu_phys_id
   Cyclomatic Complexity 5 drivers//of/base.c:__of_find_n_match_cpu_property
   Cyclomatic Complexity 1 drivers//of/base.c:arch_find_n_match_cpu_physical_id
   Cyclomatic Complexity 3 drivers//of/base.c:of_cpu_node_to_id
   Cyclomatic Complexity 1 drivers//of/base.c:of_device_is_compatible
   Cyclomatic Complexity 4 drivers//of/base.c:of_device_compatible_match
   Cyclomatic Complexity 2 drivers//of/base.c:of_machine_is_compatible
   Cyclomatic Complexity 1 drivers//of/base.c:of_device_is_available
   Cyclomatic Complexity 2 drivers//of/base.c:of_device_is_big_endian
   Cyclomatic Complexity 2 drivers//of/base.c:of_get_parent
   Cyclomatic Complexity 2 drivers//of/base.c:of_get_next_parent
   Cyclomatic Complexity 1 drivers//of/base.c:of_get_next_child
   Cyclomatic Complexity 6 drivers//of/base.c:of_get_next_available_child
   Cyclomatic Complexity 4 drivers//of/base.c:of_get_child_by_name
   Cyclomatic Complexity 5 drivers//of/base.c:__of_find_node_by_path
   Cyclomatic Complexity 4 drivers//of/base.c:__of_find_node_by_full_path
   Cyclomatic Complexity 12 drivers//of/base.c:of_find_node_opts_by_path
   Cyclomatic Complexity 5 drivers//of/base.c:of_find_node_by_name
   Cyclomatic Complexity 5 drivers//of/base.c:of_find_node_by_type
   Cyclomatic Complexity 3 drivers//of/base.c:of_get_cpu_node
   Cyclomatic Complexity 4 drivers//of/base.c:of_find_compatible_node
   Cyclomatic Complexity 4 drivers//of/base.c:of_find_node_with_property
   Cyclomatic Complexity 1 drivers//of/base.c:of_match_node
   Cyclomatic Complexity 6 drivers//of/base.c:of_find_matching_node_and_match
   Cyclomatic Complexity 4 drivers//of/base.c:of_modalias_node
   Cyclomatic Complexity 9 drivers//of/base.c:of_find_node_by_phandle
   Cyclomatic Complexity 3 drivers//of/base.c:of_print_phandle_args
   Cyclomatic Complexity 2 drivers//of/base.c:of_phandle_iterator_init
   Cyclomatic Complexity 10 drivers//of/base.c:of_phandle_iterator_next
   Cyclomatic Complexity 4 drivers//of/base.c:of_phandle_iterator_args
   Cyclomatic Complexity 5 drivers//of/base.c:__of_parse_phandle_with_args
   Cyclomatic Complexity 3 drivers//of/base.c:of_parse_phandle
   Cyclomatic Complexity 2 drivers//of/base.c:of_parse_phandle_with_args
   Cyclomatic Complexity 25 drivers//of/base.c:of_parse_phandle_with_args_map
   Cyclomatic Complexity 2 drivers//of/base.c:of_parse_phandle_with_fixed_args
   Cyclomatic Complexity 4 drivers//of/base.c:of_count_phandle_with_args
   Cyclomatic Complexity 3 drivers//of/base.c:__of_add_property
   Cyclomatic Complexity 3 drivers//of/base.c:of_add_property
   Cyclomatic Complexity 4 drivers//of/base.c:__of_remove_property
   Cyclomatic Complexity 4 drivers//of/base.c:of_remove_property
   Cyclomatic Complexity 4 drivers//of/base.c:__of_update_property
   Cyclomatic Complexity 4 drivers//of/base.c:of_update_property
   Cyclomatic Complexity 15 drivers//of/base.c:of_alias_scan
   Cyclomatic Complexity 6 drivers//of/base.c:of_alias_get_id
   Cyclomatic Complexity 6 drivers//of/base.c:of_alias_get_highest_id
   Cyclomatic Complexity 4 drivers//of/base.c:of_console_check
   Cyclomatic Complexity 6 drivers//of/base.c:of_find_next_cache_node
   Cyclomatic Complexity 2 drivers//of/base.c:of_find_last_cache_level
   Cyclomatic Complexity 1 
drivers//of/base.c:_GLOBAL__sub_I_00100_0_aliases_lookup
   Cyclomatic Complexity 1 
drivers//of/base.c:_GLOBAL__sub_D_00100_1_aliases_lookup
--
   In file included from drivers//of/platform.c:13:0:
>> include/linux/module.h:794:13: warning: 'struct tracepoint' declared inside 
>> parameter list will not be visible outside of this definition or declaration
         struct tracepoint * const *tp);
                ^~~~~~~~~~
   Cyclomatic Complexity 2 arch/x86/include/asm/bitops.h:set_bit
   Cyclomatic Complexity 2 arch/x86/include/asm/bitops.h:clear_bit
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:test_and_set_bit
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:constant_test_bit
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:variable_test_bit
   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 include/linux/string.h:kbasename
   Cyclomatic Complexity 2 include/linux/notifier.h:notifier_from_errno
   Cyclomatic Complexity 1 include/linux/kobject.h:kobject_name
   Cyclomatic Complexity 1 include/linux/device.h:devres_alloc
   Cyclomatic Complexity 2 include/linux/device.h:dev_name
   Cyclomatic Complexity 1 include/linux/kasan.h:kasan_kmalloc
   Cyclomatic Complexity 28 include/linux/slab.h:kmalloc_index
   Cyclomatic Complexity 1 include/linux/slab.h:kmem_cache_alloc_trace
   Cyclomatic Complexity 1 include/linux/slab.h:kmalloc_order_trace
   Cyclomatic Complexity 68 include/linux/slab.h:kmalloc_large
   Cyclomatic Complexity 5 include/linux/slab.h:kmalloc
   Cyclomatic Complexity 1 include/linux/slab.h:kzalloc
   Cyclomatic Complexity 1 include/linux/of.h:of_have_populated_dt
   Cyclomatic Complexity 2 include/linux/of.h:of_node_check_flag
   Cyclomatic Complexity 1 include/linux/of.h:of_node_test_and_set_flag
   Cyclomatic Complexity 1 include/linux/of.h:of_node_set_flag
   Cyclomatic Complexity 1 include/linux/of.h:of_node_clear_flag
   Cyclomatic Complexity 1 include/linux/of.h:of_find_node_by_path
   Cyclomatic Complexity 1 include/linux/of.h:of_find_matching_node
   Cyclomatic Complexity 1 drivers//of/platform.c:of_dev_node_match
   Cyclomatic Complexity 1 drivers//of/platform.c:of_amba_device_create
   Cyclomatic Complexity 3 drivers//of/platform.c:devm_of_platform_match
   Cyclomatic Complexity 6 drivers//of/platform.c:of_device_make_bus_id
   Cyclomatic Complexity 11 drivers//of/platform.c:of_dev_lookup
   Cyclomatic Complexity 6 drivers//of/platform.c:of_platform_device_destroy
   Cyclomatic Complexity 3 drivers//of/platform.c:of_find_device_by_node
   Cyclomatic Complexity 10 drivers//of/platform.c:of_device_alloc
   Cyclomatic Complexity 5 
drivers//of/platform.c:of_platform_device_create_pdata
   Cyclomatic Complexity 10 drivers//of/platform.c:of_platform_bus_create
   Cyclomatic Complexity 1 drivers//of/platform.c:of_platform_device_create
   Cyclomatic Complexity 9 drivers//of/platform.c:of_platform_notify
   Cyclomatic Complexity 7 drivers//of/platform.c:of_platform_bus_probe
   Cyclomatic Complexity 5 drivers//of/platform.c:of_platform_populate
   Cyclomatic Complexity 1 drivers//of/platform.c:of_platform_default_populate
   Cyclomatic Complexity 4 
drivers//of/platform.c:of_platform_default_populate_init
   Cyclomatic Complexity 3 drivers//of/platform.c:of_platform_depopulate
   Cyclomatic Complexity 1 
drivers//of/platform.c:devm_of_platform_populate_release
   Cyclomatic Complexity 4 drivers//of/platform.c:devm_of_platform_populate
   Cyclomatic Complexity 2 drivers//of/platform.c:devm_of_platform_depopulate
   Cyclomatic Complexity 2 
drivers//of/platform.c:of_platform_register_reconfig_notifier
   Cyclomatic Complexity 1 
drivers//of/platform.c:_GLOBAL__sub_I_00100_0_of_default_bus_match_table
   Cyclomatic Complexity 1 
drivers//of/platform.c:_GLOBAL__sub_D_00100_1_of_default_bus_match_table
--
   In file included from drivers//of/address.c:9:0:
>> include/linux/module.h:794:13: warning: 'struct tracepoint' declared inside 
>> parameter list will not be visible outside of this definition or declaration
         struct tracepoint * const *tp);
                ^~~~~~~~~~
   Cyclomatic Complexity 1 include/linux/ioport.h:resource_size
   Cyclomatic Complexity 1 include/uapi/linux/swab.h:__swab32p
   Cyclomatic Complexity 1 
include/uapi/linux/byteorder/little_endian.h:__be32_to_cpup
   Cyclomatic Complexity 1 include/linux/err.h:ERR_PTR
   Cyclomatic Complexity 3 include/linux/string.h:memset
   Cyclomatic Complexity 4 include/linux/string.h:memcpy
   Cyclomatic Complexity 1 arch/x86/include/asm/io.h:ioremap
   Cyclomatic Complexity 2 include/linux/of.h:of_read_number
   Cyclomatic Complexity 1 include/linux/of.h:of_find_matching_node
   Cyclomatic Complexity 1 include/linux/of.h:of_property_read_string_index
   Cyclomatic Complexity 1 include/linux/of.h:of_property_read_bool
   Cyclomatic Complexity 1 drivers//of/address.c:of_dump_addr
   Cyclomatic Complexity 3 drivers//of/address.c:of_bus_default_map
   Cyclomatic Complexity 1 drivers//of/address.c:of_bus_default_get_flags
   Cyclomatic Complexity 3 drivers//of/address.c:of_bus_pci_count_cells
   Cyclomatic Complexity 4 drivers//of/address.c:of_bus_pci_get_flags
   Cyclomatic Complexity 4 drivers//of/address.c:of_bus_pci_map
   Cyclomatic Complexity 3 drivers//of/address.c:of_bus_isa_count_cells
   Cyclomatic Complexity 4 drivers//of/address.c:of_bus_isa_map
   Cyclomatic Complexity 2 drivers//of/address.c:of_bus_isa_get_flags
   Cyclomatic Complexity 1 drivers//of/address.c:of_empty_ranges_quirk
   Cyclomatic Complexity 1 drivers//of/address.c:of_bus_isa_match
   Cyclomatic Complexity 5 drivers//of/address.c:of_bus_pci_match
   Cyclomatic Complexity 8 drivers//of/address.c:of_translate_one
   Cyclomatic Complexity 2 drivers//of/address.c:of_bus_default_translate
   Cyclomatic Complexity 1 drivers//of/address.c:of_bus_isa_translate
   Cyclomatic Complexity 1 drivers//of/address.c:of_bus_pci_translate
   Cyclomatic Complexity 3 drivers//of/address.c:of_match_bus
   Cyclomatic Complexity 2 drivers//of/address.c:parser_init
   Cyclomatic Complexity 3 drivers//of/address.c:of_bus_default_count_cells
   Cyclomatic Complexity 10 drivers//of/address.c:__of_translate_address
   Cyclomatic Complexity 3 drivers//of/address.c:of_translate_ioport
   Cyclomatic Complexity 9 drivers//of/address.c:of_get_pci_address
   Cyclomatic Complexity 1 drivers//of/address.c:of_pci_range_parser_init
   Cyclomatic Complexity 1 drivers//of/address.c:of_pci_dma_range_parser_init
   Cyclomatic Complexity 4 drivers//of/address.c:of_pci_range_to_resource
   Cyclomatic Complexity 2 drivers//of/address.c:of_translate_address
   Cyclomatic Complexity 5 drivers//of/address.c:__of_address_to_resource
   Cyclomatic Complexity 2 drivers//of/address.c:of_pci_address_to_resource
   Cyclomatic Complexity 8 drivers//of/address.c:of_pci_range_parser_one
   Cyclomatic Complexity 2 drivers//of/address.c:of_translate_dma_address
   Cyclomatic Complexity 8 drivers//of/address.c:of_get_address
   Cyclomatic Complexity 2 drivers//of/address.c:of_address_to_resource
   Cyclomatic Complexity 4 
drivers//of/address.c:of_find_matching_node_by_address
   Cyclomatic Complexity 2 drivers//of/address.c:of_iomap
   Cyclomatic Complexity 4 drivers//of/address.c:of_io_request_and_map
   Cyclomatic Complexity 8 drivers//of/address.c:of_dma_get_range
   Cyclomatic Complexity 3 drivers//of/address.c:of_dma_is_coherent
   Cyclomatic Complexity 1 
drivers//of/address.c:_GLOBAL__sub_I_00100_0_of_get_pci_address
   Cyclomatic Complexity 1 
drivers//of/address.c:_GLOBAL__sub_D_00100_1_of_get_pci_address
--
   In file included from drivers//of/irq.c:22:0:
>> include/linux/module.h:794:13: warning: 'struct tracepoint' declared inside 
>> parameter list will not be visible outside of this definition or declaration
         struct tracepoint * const *tp);
                ^~~~~~~~~~
   Cyclomatic Complexity 5 include/linux/compiler.h:__read_once_size
   Cyclomatic Complexity 5 include/linux/compiler.h:__write_once_size
   Cyclomatic Complexity 2 arch/x86/include/asm/bitops.h:set_bit
   Cyclomatic Complexity 2 arch/x86/include/asm/bitops.h:clear_bit
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:fls64
   Cyclomatic Complexity 1 include/uapi/linux/swab.h:__swab32p
   Cyclomatic Complexity 1 
include/uapi/linux/byteorder/little_endian.h:__be32_to_cpup
   Cyclomatic Complexity 1 include/linux/log2.h:__ilog2_u64
   Cyclomatic Complexity 1 include/linux/list.h:INIT_LIST_HEAD
   Cyclomatic Complexity 2 include/linux/list.h:__list_add
   Cyclomatic Complexity 1 include/linux/list.h:list_add_tail
   Cyclomatic Complexity 1 include/linux/list.h:__list_del
   Cyclomatic Complexity 2 include/linux/list.h:__list_del_entry
   Cyclomatic Complexity 1 include/linux/list.h:list_del
   Cyclomatic Complexity 1 include/linux/list.h:list_empty
   Cyclomatic Complexity 1 include/asm-generic/getorder.h:__get_order
   Cyclomatic Complexity 3 include/linux/string.h:memset
   Cyclomatic Complexity 1 include/linux/device.h:dev_set_msi_domain
   Cyclomatic Complexity 1 include/linux/of.h:of_node_set_flag
   Cyclomatic Complexity 1 include/linux/of.h:of_node_clear_flag
   Cyclomatic Complexity 2 include/linux/of.h:of_node_full_name
   Cyclomatic Complexity 2 include/linux/of.h:of_property_read_u32_array
   Cyclomatic Complexity 1 include/linux/of.h:of_property_read_string_index
   Cyclomatic Complexity 1 include/linux/of.h:of_property_read_bool
   Cyclomatic Complexity 1 include/linux/of.h:of_property_read_u32
   Cyclomatic Complexity 1 include/linux/kasan.h:kasan_kmalloc
   Cyclomatic Complexity 28 include/linux/slab.h:kmalloc_index
   Cyclomatic Complexity 1 include/linux/slab.h:kmem_cache_alloc_trace
   Cyclomatic Complexity 1 include/linux/slab.h:kmalloc_order_trace
   Cyclomatic Complexity 68 include/linux/slab.h:kmalloc_large
   Cyclomatic Complexity 5 include/linux/slab.h:kmalloc
   Cyclomatic Complexity 1 include/linux/slab.h:kzalloc
   Cyclomatic Complexity 1 include/linux/irq.h:irqd_get_trigger_type
   Cyclomatic Complexity 2 include/linux/irqdomain.h:of_node_to_fwnode
   Cyclomatic Complexity 1 include/linux/irqdomain.h:irq_find_matching_fwnode
   Cyclomatic Complexity 1 include/linux/irqdomain.h:irq_find_matching_host
   Cyclomatic Complexity 1 include/linux/irqdomain.h:irq_find_host
   Cyclomatic Complexity 3 drivers//of/irq.c:__of_msi_map_rid
   Cyclomatic Complexity 5 drivers//of/irq.c:of_irq_find_parent
   Cyclomatic Complexity 29 drivers//of/irq.c:of_irq_parse_raw
   Cyclomatic Complexity 6 drivers//of/irq.c:of_irq_parse_one
   Cyclomatic Complexity 2 drivers//of/irq.c:irq_of_parse_and_map
   Cyclomatic Complexity 3 drivers//of/irq.c:of_irq_get
   Cyclomatic Complexity 4 drivers//of/irq.c:of_irq_to_resource
   Cyclomatic Complexity 3 drivers//of/irq.c:of_irq_get_byname
   Cyclomatic Complexity 2 drivers//of/irq.c:of_irq_count
   Cyclomatic Complexity 3 drivers//of/irq.c:of_irq_to_resource_table
   Cyclomatic Complexity 27 drivers//of/irq.c:of_irq_init
   Cyclomatic Complexity 1 drivers//of/irq.c:of_msi_map_rid
   Cyclomatic Complexity 1 drivers//of/irq.c:of_msi_map_get_device_domain
   Cyclomatic Complexity 7 drivers//of/irq.c:of_msi_get_domain
   Cyclomatic Complexity 1 drivers//of/irq.c:of_msi_configure
   Cyclomatic Complexity 1 
drivers//of/irq.c:_GLOBAL__sub_I_00100_0_irq_of_parse_and_map
   Cyclomatic Complexity 1 
drivers//of/irq.c:_GLOBAL__sub_D_00100_1_irq_of_parse_and_map
--
   In file included from drivers//of/resolver.c:12:0:
>> include/linux/module.h:794:13: warning: 'struct tracepoint' declared inside 
>> parameter list will not be visible outside of this definition or declaration
         struct tracepoint * const *tp);
                ^~~~~~~~~~
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:constant_test_bit
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:variable_test_bit
   Cyclomatic Complexity 1 include/uapi/linux/swab.h:__swab32p
   Cyclomatic Complexity 1 
include/uapi/linux/byteorder/little_endian.h:__be32_to_cpup
   Cyclomatic Complexity 1 include/linux/byteorder/generic.h:be32_add_cpu
   Cyclomatic Complexity 2 include/linux/string.h:kbasename
   Cyclomatic Complexity 1 include/linux/string.h:strnlen
   Cyclomatic Complexity 4 include/linux/string.h:strlen
   Cyclomatic Complexity 3 include/linux/string.h:kmemdup
   Cyclomatic Complexity 2 include/linux/of.h:of_node_check_flag
   Cyclomatic Complexity 1 include/linux/of.h:of_find_node_by_path
   Cyclomatic Complexity 1 drivers//of/resolver.c:node_name_cmp
   Cyclomatic Complexity 4 drivers//of/resolver.c:live_tree_max_phandle
   Cyclomatic Complexity 8 drivers//of/resolver.c:adjust_overlay_phandles
   Cyclomatic Complexity 18 
drivers//of/resolver.c:adjust_local_phandle_references
   Cyclomatic Complexity 10 
drivers//of/resolver.c:update_usages_of_a_phandle_reference
   Cyclomatic Complexity 16 drivers//of/resolver.c:of_resolve_phandles
   Cyclomatic Complexity 1 
drivers//of/resolver.c:_GLOBAL__sub_I_00100_0_of_resolve_phandles
   Cyclomatic Complexity 1 
drivers//of/resolver.c:_GLOBAL__sub_D_00100_1_of_resolve_phandles
--
   In file included from drivers//of/overlay.c:12:0:
>> include/linux/module.h:794:13: warning: 'struct tracepoint' declared inside 
>> parameter list will not be visible outside of this definition or declaration
         struct tracepoint * const *tp);
                ^~~~~~~~~~
   Cyclomatic Complexity 5 include/linux/compiler.h:__write_once_size
   Cyclomatic Complexity 2 arch/x86/include/asm/bitops.h:set_bit
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:constant_test_bit
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:variable_test_bit
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:fls64
   Cyclomatic Complexity 1 include/linux/log2.h:__ilog2_u64
   Cyclomatic Complexity 1 include/linux/list.h:INIT_LIST_HEAD
   Cyclomatic Complexity 2 include/linux/list.h:__list_add
   Cyclomatic Complexity 1 include/linux/list.h:list_add_tail
   Cyclomatic Complexity 1 include/linux/list.h:__list_del
   Cyclomatic Complexity 2 include/linux/list.h:__list_del_entry
   Cyclomatic Complexity 1 include/linux/list.h:list_del
   Cyclomatic Complexity 1 include/asm-generic/getorder.h:__get_order
   Cyclomatic Complexity 2 include/linux/string.h:kbasename
   Cyclomatic Complexity 1 include/linux/string.h:strnlen
   Cyclomatic Complexity 4 include/linux/string.h:strlen
   Cyclomatic Complexity 4 include/linux/string.h:memcpy
   Cyclomatic Complexity 3 include/linux/string.h:kmemdup
   Cyclomatic Complexity 2 include/linux/string.h:strcpy
   Cyclomatic Complexity 2 include/linux/notifier.h:notifier_to_errno
   Cyclomatic Complexity 3 include/linux/of.h:of_node_is_root
   Cyclomatic Complexity 2 include/linux/of.h:of_node_check_flag
   Cyclomatic Complexity 1 include/linux/of.h:of_property_set_flag
   Cyclomatic Complexity 1 include/linux/of.h:of_find_node_by_path
   Cyclomatic Complexity 2 include/linux/of.h:of_property_read_u32_array
   Cyclomatic Complexity 1 include/linux/of.h:of_property_read_u32
   Cyclomatic Complexity 1 include/linux/of.h:of_changeset_attach_node
   Cyclomatic Complexity 1 include/linux/of.h:of_changeset_add_property
   Cyclomatic Complexity 1 include/linux/of.h:of_changeset_update_property
   Cyclomatic Complexity 1 include/linux/kasan.h:kasan_kmalloc
   Cyclomatic Complexity 28 include/linux/slab.h:kmalloc_index
   Cyclomatic Complexity 1 include/linux/slab.h:kmem_cache_alloc_trace
   Cyclomatic Complexity 1 include/linux/slab.h:kmalloc_order_trace
   Cyclomatic Complexity 68 include/linux/slab.h:kmalloc_large
   Cyclomatic Complexity 5 include/linux/slab.h:kmalloc
   Cyclomatic Complexity 5 include/linux/slab.h:kmalloc_array
   Cyclomatic Complexity 1 include/linux/slab.h:kcalloc
   Cyclomatic Complexity 1 include/linux/slab.h:kzalloc
   Cyclomatic Complexity 1 drivers//of/overlay.c:devicetree_corrupt
   Cyclomatic Complexity 4 drivers//of/overlay.c:find_node
   Cyclomatic Complexity 5 drivers//of/overlay.c:find_target_node
   Cyclomatic Complexity 15 drivers//of/overlay.c:init_overlay_changeset
   Cyclomatic Complexity 12 drivers//of/overlay.c:dup_and_fixup_symbol_prop
   Cyclomatic Complexity 9 drivers//of/overlay.c:add_changeset_property
   Cyclomatic Complexity 3 drivers//of/overlay.c:build_changeset_symbols_node
   Cyclomatic Complexity 8 drivers//of/overlay.c:add_changeset_node
   Cyclomatic Complexity 5 drivers//of/overlay.c:build_changeset_next_level
   Cyclomatic Complexity 6 drivers//of/overlay.c:build_changeset
   Cyclomatic Complexity 4 drivers//of/overlay.c:overlay_notify
   Cyclomatic Complexity 4 drivers//of/overlay.c:free_overlay_changeset
   Cyclomatic Complexity 10 drivers//of/overlay.c:node_overlaps_later_cs
   Cyclomatic Complexity 5 drivers//of/overlay.c:overlay_removal_is_ok
   Cyclomatic Complexity 1 drivers//of/overlay.c:of_overlay_mutex_lock
   Cyclomatic Complexity 1 drivers//of/overlay.c:of_overlay_mutex_unlock
   Cyclomatic Complexity 12 drivers//of/overlay.c:of_overlay_apply
   Cyclomatic Complexity 1 drivers//of/overlay.c:of_overlay_notifier_register
   Cyclomatic Complexity 1 drivers//of/overlay.c:of_overlay_notifier_unregister
   Cyclomatic Complexity 7 drivers//of/overlay.c:of_overlay_fdt_apply
   Cyclomatic Complexity 10 drivers//of/overlay.c:of_overlay_remove
   Cyclomatic Complexity 6 drivers//of/overlay.c:of_overlay_remove_all
   Cyclomatic Complexity 1 
drivers//of/overlay.c:_GLOBAL__sub_I_00100_0_of_overlay_mutex_lock
   Cyclomatic Complexity 1 
drivers//of/overlay.c:_GLOBAL__sub_D_00100_1_of_overlay_mutex_lock
..

vim +794 include/linux/module.h

   788  
   789  #ifdef CONFIG_MODVERSIONS
   790  void module_layout(struct module *mod,
   791                     struct modversion_info *ver,
   792                     struct kernel_param *kp,
   793                     struct kernel_symbol *ks,
 > 794                     struct tracepoint * const *tp);
   795  #endif /* CONFIG_MODVERSIONS */
   796  

---
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