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:   Sun, 30 Oct 2016 09:02:10 +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>,
        Bas Vermeulen <bvermeul@...ckstar.xs4all.nl>,
        Steven Miao <realmz6@...il.com>
Subject: Re: [PATCH 2/3] blackfin: make-bf561/coreb.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: blackfin-CM-BF561_defconfig (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 error/warnings (new ones prefixed by >>):

>> arch/blackfin/mach-bf561/coreb.c:64:1: warning: data definition has no type or storage class
    builtin_misc_device(coreb_dev);
    ^~~~~~~~~~~~~~~~~~~
>> arch/blackfin/mach-bf561/coreb.c:64:1: error: type defaults to 'int' in declaration of 'builtin_misc_device' [-Werror=implicit-int]
>> arch/blackfin/mach-bf561/coreb.c:64:1: warning: parameter names (without types) in function declaration
>> arch/blackfin/mach-bf561/coreb.c:59:26: warning: 'coreb_dev' defined but not used [-Wunused-variable]
    static struct miscdevice coreb_dev = {
                             ^~~~~~~~~
   cc1: some warnings being treated as errors

vim +64 arch/blackfin/mach-bf561/coreb.c

    53	static const struct file_operations coreb_fops = {
    54		.owner          = THIS_MODULE,
    55		.unlocked_ioctl = coreb_ioctl,
    56		.llseek		= noop_llseek,
    57	};
    58	
  > 59	static struct miscdevice coreb_dev = {
    60		.minor = MISC_DYNAMIC_MINOR,
    61		.name  = "coreb",
    62		.fops  = &coreb_fops,
    63	};
  > 64	builtin_misc_device(coreb_dev);

---
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" (11011 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ