Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1511928

Re: [PATCH 3/3] s390: char: make slp_ctl explicitly non-modular

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] s390: char: make slp_ctl explicitly non-modular
Date 2016-10-30 01:00 +0200
Message-ID <sxKLv-4yt-5@gated-at.bofh.it> (permalink)
References <sxIJI-32B-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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: s390-default_defconfig (attached as .config)
compiler: s390x-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
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=s390 

All error/warnings (new ones prefixed by >>):

>> drivers/s390/char/sclp_ctl.c:129:1: warning: data definition has no type or storage class
    builtin_misc_device(sclp_ctl_device);
    ^~~~~~~~~~~~~~~~~~~
>> drivers/s390/char/sclp_ctl.c:129:1: error: type defaults to 'int' in declaration of 'builtin_misc_device' [-Werror=implicit-int]
>> drivers/s390/char/sclp_ctl.c:129:1: warning: parameter names (without types) in function declaration
>> drivers/s390/char/sclp_ctl.c:124:26: warning: 'sclp_ctl_device' defined but not used [-Wunused-variable]
    static struct miscdevice sclp_ctl_device = {
                             ^~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +129 drivers/s390/char/sclp_ctl.c

   118		.llseek = no_llseek,
   119	};
   120	
   121	/*
   122	 * Misc device definition
   123	 */
 > 124	static struct miscdevice sclp_ctl_device = {
   125		.minor = MISC_DYNAMIC_MINOR,
   126		.name = "sclp",
   127		.fops = &sclp_ctl_fops,
   128	};
 > 129	builtin_misc_device(sclp_ctl_device);

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 3/3] s390: char: make slp_ctl explicitly non-modular Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-10-29 22:50 +0200
  Re: [PATCH 3/3] s390: char: make slp_ctl explicitly non-modular kbuild test robot <lkp@intel.com> - 2016-10-30 01:00 +0200
  Re: [PATCH 3/3] s390: char: make slp_ctl explicitly non-modular Martin Schwidefsky <schwidefsky@de.ibm.com> - 2016-10-30 14:50 +0100
    Re: [PATCH 3/3] s390: char: make slp_ctl explicitly non-modular Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-10-30 17:10 +0100

csiph-web