[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201610300501.MjxoWVOy%fengguang.wu@intel.com>
Date: Sun, 30 Oct 2016 06:01:44 +0800
From: kbuild test robot <lkp@...el.com>
To: Paul Gortmaker <paul.gortmaker@...driver.com>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Paul Gortmaker <paul.gortmaker@...driver.com>,
Matias Bjorling <mb@...htnvm.io>
Subject: Re: [PATCH 1/3] lightnvm: make core.c explicitly non-modular
Hi Paul,
[auto build test ERROR on linus/master]
[also build test ERROR on v4.9-rc3 next-20161028]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]
url: https://github.com/0day-ci/linux/commits/Paul-Gortmaker/lightnvm-make-core-c-explicitly-non-modular/20161030-044459
config: i386-randconfig-x073-201644 (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=i386
All error/warnings (new ones prefixed by >>):
>> drivers/lightnvm/core.c:1169:1: warning: data definition has no type or storage class
builtin_misc_device(_nvm_misc);
^~~~~~~~~~~~~~~~~~~
>> drivers/lightnvm/core.c:1169:1: error: type defaults to 'int' in declaration of 'builtin_misc_device' [-Werror=implicit-int]
>> drivers/lightnvm/core.c:1169:1: warning: parameter names (without types) in function declaration
>> drivers/lightnvm/core.c:1163:26: warning: '_nvm_misc' defined but not used [-Wunused-variable]
static struct miscdevice _nvm_misc = {
^~~~~~~~~
Cyclomatic Complexity 5 include/linux/compiler.h:__write_once_size
Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:fls
Cyclomatic Complexity 1 include/linux/log2.h:__ilog2_u32
Cyclomatic Complexity 1 include/linux/list.h:__list_add
Cyclomatic Complexity 1 include/linux/list.h:list_add
Cyclomatic Complexity 1 include/linux/list.h:__list_del
Cyclomatic Complexity 1 include/linux/list.h:list_del
Cyclomatic Complexity 1 include/asm-generic/getorder.h:__get_order
Cyclomatic Complexity 1 include/linux/spinlock.h:spinlock_check
Cyclomatic Complexity 1 include/linux/slab.h:__kmalloc_node
Cyclomatic Complexity 1 include/linux/slab.h:kmalloc_order_trace
Cyclomatic Complexity 67 include/linux/slab.h:kmalloc_large
Cyclomatic Complexity 3 include/linux/slab.h:kmalloc
Cyclomatic Complexity 1 include/linux/slab.h:kmalloc_node
Cyclomatic Complexity 1 include/linux/slab.h:kzalloc_node
Cyclomatic Complexity 1 include/linux/lightnvm.h:generic_to_dev_addr
Cyclomatic Complexity 1 include/linux/lightnvm.h:dev_to_generic_addr
Cyclomatic Complexity 1 drivers/lightnvm/core.c:nvm_dev_dma_alloc
Cyclomatic Complexity 1 drivers/lightnvm/core.c:nvm_dev_dma_free
Cyclomatic Complexity 1 drivers/lightnvm/core.c:nvm_get_blk
Cyclomatic Complexity 1 drivers/lightnvm/core.c:nvm_put_blk
Cyclomatic Complexity 1 drivers/lightnvm/core.c:nvm_mark_blk
Cyclomatic Complexity 1 drivers/lightnvm/core.c:nvm_submit_io
Cyclomatic Complexity 1 drivers/lightnvm/core.c:nvm_erase_blk
Cyclomatic Complexity 3 drivers/lightnvm/core.c:nvm_addr_to_generic_mode
Cyclomatic Complexity 3 drivers/lightnvm/core.c:nvm_generic_to_addr_mode
Cyclomatic Complexity 2 drivers/lightnvm/core.c:nvm_free_rqd_ppalist
Cyclomatic Complexity 1 drivers/lightnvm/core.c:nvm_end_io
Cyclomatic Complexity 5 drivers/lightnvm/core.c:nvm_bb_tbl_fold
Cyclomatic Complexity 1 drivers/lightnvm/core.c:nvm_get_bb_tbl
Cyclomatic Complexity 2 drivers/lightnvm/core.c:nvm_free_mgr
Cyclomatic Complexity 1 drivers/lightnvm/core.c:nvm_alloc_dev
Cyclomatic Complexity 3 drivers/lightnvm/core.c:nvm_find_mgr_type
Cyclomatic Complexity 5 drivers/lightnvm/core.c:nvm_find_target_type
Cyclomatic Complexity 2 drivers/lightnvm/core.c:nvm_register_tgt_type
Cyclomatic Complexity 2 drivers/lightnvm/core.c:nvm_unregister_tgt_type
Cyclomatic Complexity 2 drivers/lightnvm/core.c:nvm_unregister_mgr
Cyclomatic Complexity 3 include/linux/err.h:IS_ERR_OR_NULL
Cyclomatic Complexity 8 drivers/lightnvm/core.c:nvm_init_mgr
Cyclomatic Complexity 4 drivers/lightnvm/core.c:nvm_register_mgr
Cyclomatic Complexity 9 drivers/lightnvm/core.c:nvm_set_rqd_ppalist
Cyclomatic Complexity 3 drivers/lightnvm/core.c:nvm_erase_ppa
Cyclomatic Complexity 1 drivers/lightnvm/core.c:nvm_end_io_sync
Cyclomatic Complexity 1 include/linux/completion.h:init_completion
Cyclomatic Complexity 5 drivers/lightnvm/core.c:__nvm_submit_ppa
Cyclomatic Complexity 3 drivers/lightnvm/core.c:nvm_submit_ppa_list
Cyclomatic Complexity 2 drivers/lightnvm/core.c:nvm_submit_ppa
Cyclomatic Complexity 5 include/linux/slab.h:kmalloc_array
Cyclomatic Complexity 1 include/linux/slab.h:kcalloc
Cyclomatic Complexity 3 drivers/lightnvm/core.c:nvm_init_slc_tbl
Cyclomatic Complexity 5 drivers/lightnvm/core.c:nvm_init_mlc_tbl
Cyclomatic Complexity 9 drivers/lightnvm/core.c:nvm_core_init
Cyclomatic Complexity 7 drivers/lightnvm/core.c:nvm_init
Cyclomatic Complexity 10 drivers/lightnvm/core.c:nvm_register
Cyclomatic Complexity 1 drivers/lightnvm/core.c:nvm_exit
Cyclomatic Complexity 1 drivers/lightnvm/core.c:nvm_unregister
Cyclomatic Complexity 3 drivers/lightnvm/core.c:nvm_free
cc1: some warnings being treated as errors
vim +1169 drivers/lightnvm/core.c
1157 .open = nonseekable_open,
1158 .unlocked_ioctl = nvm_ctl_ioctl,
1159 .owner = THIS_MODULE,
1160 .llseek = noop_llseek,
1161 };
1162
> 1163 static struct miscdevice _nvm_misc = {
1164 .minor = MISC_DYNAMIC_MINOR,
1165 .name = "lightnvm",
1166 .nodename = "lightnvm/control",
1167 .fops = &_ctl_fops,
1168 };
> 1169 builtin_misc_device(_nvm_misc);
---
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" (24972 bytes)
Powered by blists - more mailing lists