From: kbuild test robot <lkp@intel.com>
To: Joe Perches <joe@perches.com>
Cc: kbuild-all@01.org, Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] printk: Create pr_<level> functions
Date: Fri, 24 Jun 2016 03:57:42 +0800 [thread overview]
Message-ID: <201606240320.buo5Pe4n%fengguang.wu@intel.com> (raw)
In-Reply-To: <3e99c7f3c377a2ebc908b6e06adedbd93554f887.1466708142.git.joe@perches.com>
[-- Attachment #1: Type: text/plain, Size: 11990 bytes --]
Hi,
[auto build test ERROR on v4.7-rc4]
[also build test ERROR on next-20160623]
[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/Joe-Perches/printk-Create-pr_-level-functions/20160624-031211
config: i386-defconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All error/warnings (new ones prefixed by >>):
>> kernel/printk/printk.c:1816:17: error: conflicting types for '__pr_emerg'
define_pr_level(__pr_emerg, LOGLEVEL_EMERG);
^
kernel/printk/printk.c:1806:6: note: in definition of macro 'define_pr_level'
void func(const char *fmt, ...) \
^~~~
In file included from include/linux/kernel.h:13:0,
from kernel/printk/printk.c:19:
include/linux/printk.h:257:39: note: previous declaration of '__pr_emerg' was here
asmlinkage __printf(1, 2) __cold void __pr_emerg(const char *fmt, ...);
^~~~~~~~~~
In file included from include/linux/linkage.h:6:0,
from include/linux/kernel.h:6,
from kernel/printk/printk.c:19:
>> kernel/printk/printk.c:1816:17: error: conflicting types for '__pr_emerg'
define_pr_level(__pr_emerg, LOGLEVEL_EMERG);
^
include/linux/export.h:57:21: note: in definition of macro '___EXPORT_SYMBOL'
extern typeof(sym) sym; \
^~~
>> kernel/printk/printk.c:1814:1: note: in expansion of macro 'EXPORT_SYMBOL'
EXPORT_SYMBOL(func)
^~~~~~~~~~~~~
>> kernel/printk/printk.c:1816:1: note: in expansion of macro 'define_pr_level'
define_pr_level(__pr_emerg, LOGLEVEL_EMERG);
^~~~~~~~~~~~~~~
In file included from include/linux/kernel.h:13:0,
from kernel/printk/printk.c:19:
include/linux/printk.h:257:39: note: previous declaration of '__pr_emerg' was here
asmlinkage __printf(1, 2) __cold void __pr_emerg(const char *fmt, ...);
^~~~~~~~~~
>> kernel/printk/printk.c:1817:17: error: conflicting types for '__pr_alert'
define_pr_level(__pr_alert, LOGLEVEL_ALERT);
^
kernel/printk/printk.c:1806:6: note: in definition of macro 'define_pr_level'
void func(const char *fmt, ...) \
^~~~
In file included from include/linux/kernel.h:13:0,
from kernel/printk/printk.c:19:
include/linux/printk.h:258:39: note: previous declaration of '__pr_alert' was here
asmlinkage __printf(1, 2) __cold void __pr_alert(const char *fmt, ...);
^~~~~~~~~~
In file included from include/linux/linkage.h:6:0,
from include/linux/kernel.h:6,
from kernel/printk/printk.c:19:
>> kernel/printk/printk.c:1817:17: error: conflicting types for '__pr_alert'
define_pr_level(__pr_alert, LOGLEVEL_ALERT);
^
include/linux/export.h:57:21: note: in definition of macro '___EXPORT_SYMBOL'
extern typeof(sym) sym; \
^~~
>> kernel/printk/printk.c:1814:1: note: in expansion of macro 'EXPORT_SYMBOL'
EXPORT_SYMBOL(func)
^~~~~~~~~~~~~
kernel/printk/printk.c:1817:1: note: in expansion of macro 'define_pr_level'
define_pr_level(__pr_alert, LOGLEVEL_ALERT);
^~~~~~~~~~~~~~~
In file included from include/linux/kernel.h:13:0,
from kernel/printk/printk.c:19:
include/linux/printk.h:258:39: note: previous declaration of '__pr_alert' was here
asmlinkage __printf(1, 2) __cold void __pr_alert(const char *fmt, ...);
^~~~~~~~~~
>> kernel/printk/printk.c:1818:17: error: conflicting types for '__pr_crit'
define_pr_level(__pr_crit, LOGLEVEL_CRIT);
^
kernel/printk/printk.c:1806:6: note: in definition of macro 'define_pr_level'
void func(const char *fmt, ...) \
^~~~
In file included from include/linux/kernel.h:13:0,
from kernel/printk/printk.c:19:
include/linux/printk.h:259:39: note: previous declaration of '__pr_crit' was here
asmlinkage __printf(1, 2) __cold void __pr_crit(const char *fmt, ...);
^~~~~~~~~
In file included from include/linux/linkage.h:6:0,
from include/linux/kernel.h:6,
from kernel/printk/printk.c:19:
>> kernel/printk/printk.c:1818:17: error: conflicting types for '__pr_crit'
define_pr_level(__pr_crit, LOGLEVEL_CRIT);
^
include/linux/export.h:57:21: note: in definition of macro '___EXPORT_SYMBOL'
extern typeof(sym) sym; \
^~~
>> kernel/printk/printk.c:1814:1: note: in expansion of macro 'EXPORT_SYMBOL'
EXPORT_SYMBOL(func)
^~~~~~~~~~~~~
kernel/printk/printk.c:1818:1: note: in expansion of macro 'define_pr_level'
define_pr_level(__pr_crit, LOGLEVEL_CRIT);
^~~~~~~~~~~~~~~
In file included from include/linux/kernel.h:13:0,
from kernel/printk/printk.c:19:
include/linux/printk.h:259:39: note: previous declaration of '__pr_crit' was here
asmlinkage __printf(1, 2) __cold void __pr_crit(const char *fmt, ...);
^~~~~~~~~
>> kernel/printk/printk.c:1819:17: error: conflicting types for '__pr_err'
define_pr_level(__pr_err, LOGLEVEL_ERR);
^
kernel/printk/printk.c:1806:6: note: in definition of macro 'define_pr_level'
void func(const char *fmt, ...) \
^~~~
In file included from include/linux/kernel.h:13:0,
from kernel/printk/printk.c:19:
include/linux/printk.h:260:39: note: previous declaration of '__pr_err' was here
asmlinkage __printf(1, 2) __cold void __pr_err(const char *fmt, ...);
^~~~~~~~
In file included from include/linux/linkage.h:6:0,
from include/linux/kernel.h:6,
from kernel/printk/printk.c:19:
>> kernel/printk/printk.c:1819:17: error: conflicting types for '__pr_err'
define_pr_level(__pr_err, LOGLEVEL_ERR);
^
include/linux/export.h:57:21: note: in definition of macro '___EXPORT_SYMBOL'
extern typeof(sym) sym; \
^~~
>> kernel/printk/printk.c:1814:1: note: in expansion of macro 'EXPORT_SYMBOL'
EXPORT_SYMBOL(func)
^~~~~~~~~~~~~
kernel/printk/printk.c:1819:1: note: in expansion of macro 'define_pr_level'
define_pr_level(__pr_err, LOGLEVEL_ERR);
^~~~~~~~~~~~~~~
In file included from include/linux/kernel.h:13:0,
from kernel/printk/printk.c:19:
include/linux/printk.h:260:39: note: previous declaration of '__pr_err' was here
asmlinkage __printf(1, 2) __cold void __pr_err(const char *fmt, ...);
^~~~~~~~
>> kernel/printk/printk.c:1820:17: error: conflicting types for '__pr_warn'
define_pr_level(__pr_warn, LOGLEVEL_WARNING);
^
kernel/printk/printk.c:1806:6: note: in definition of macro 'define_pr_level'
void func(const char *fmt, ...) \
^~~~
In file included from include/linux/kernel.h:13:0,
from kernel/printk/printk.c:19:
include/linux/printk.h:261:39: note: previous declaration of '__pr_warn' was here
asmlinkage __printf(1, 2) __cold void __pr_warn(const char *fmt, ...);
^~~~~~~~~
In file included from include/linux/linkage.h:6:0,
from include/linux/kernel.h:6,
from kernel/printk/printk.c:19:
>> kernel/printk/printk.c:1820:17: error: conflicting types for '__pr_warn'
define_pr_level(__pr_warn, LOGLEVEL_WARNING);
^
include/linux/export.h:57:21: note: in definition of macro '___EXPORT_SYMBOL'
extern typeof(sym) sym; \
^~~
>> kernel/printk/printk.c:1814:1: note: in expansion of macro 'EXPORT_SYMBOL'
EXPORT_SYMBOL(func)
^~~~~~~~~~~~~
kernel/printk/printk.c:1820:1: note: in expansion of macro 'define_pr_level'
define_pr_level(__pr_warn, LOGLEVEL_WARNING);
^~~~~~~~~~~~~~~
In file included from include/linux/kernel.h:13:0,
from kernel/printk/printk.c:19:
include/linux/printk.h:261:39: note: previous declaration of '__pr_warn' was here
asmlinkage __printf(1, 2) __cold void __pr_warn(const char *fmt, ...);
^~~~~~~~~
>> kernel/printk/printk.c:1821:17: error: conflicting types for '__pr_notice'
define_pr_level(__pr_notice, LOGLEVEL_NOTICE);
^
kernel/printk/printk.c:1806:6: note: in definition of macro 'define_pr_level'
void func(const char *fmt, ...) \
^~~~
In file included from include/linux/kernel.h:13:0,
from kernel/printk/printk.c:19:
include/linux/printk.h:262:39: note: previous declaration of '__pr_notice' was here
asmlinkage __printf(1, 2) __cold void __pr_notice(const char *fmt, ...);
^~~~~~~~~~~
In file included from include/linux/linkage.h:6:0,
from include/linux/kernel.h:6,
from kernel/printk/printk.c:19:
>> kernel/printk/printk.c:1821:17: error: conflicting types for '__pr_notice'
define_pr_level(__pr_notice, LOGLEVEL_NOTICE);
^
include/linux/export.h:57:21: note: in definition of macro '___EXPORT_SYMBOL'
extern typeof(sym) sym; \
^~~
>> kernel/printk/printk.c:1814:1: note: in expansion of macro 'EXPORT_SYMBOL'
EXPORT_SYMBOL(func)
^~~~~~~~~~~~~
kernel/printk/printk.c:1821:1: note: in expansion of macro 'define_pr_level'
define_pr_level(__pr_notice, LOGLEVEL_NOTICE);
^~~~~~~~~~~~~~~
In file included from include/linux/kernel.h:13:0,
from kernel/printk/printk.c:19:
include/linux/printk.h:262:39: note: previous declaration of '__pr_notice' was here
asmlinkage __printf(1, 2) __cold void __pr_notice(const char *fmt, ...);
^~~~~~~~~~~
>> kernel/printk/printk.c:1822:17: error: conflicting types for '__pr_info'
define_pr_level(__pr_info, LOGLEVEL_NOTICE);
^
kernel/printk/printk.c:1806:6: note: in definition of macro 'define_pr_level'
void func(const char *fmt, ...) \
^~~~
In file included from include/linux/kernel.h:13:0,
from kernel/printk/printk.c:19:
include/linux/printk.h:263:39: note: previous declaration of '__pr_info' was here
asmlinkage __printf(1, 2) __cold void __pr_info(const char *fmt, ...);
^~~~~~~~~
In file included from include/linux/linkage.h:6:0,
from include/linux/kernel.h:6,
from kernel/printk/printk.c:19:
vim +/__pr_emerg +1816 kernel/printk/printk.c
1808 va_list args; \
1809 \
1810 va_start(args, fmt); \
1811 vprintk_default(loglevel, fmt, args); \
1812 va_end(args); \
1813 } \
> 1814 EXPORT_SYMBOL(func)
1815
> 1816 define_pr_level(__pr_emerg, LOGLEVEL_EMERG);
> 1817 define_pr_level(__pr_alert, LOGLEVEL_ALERT);
> 1818 define_pr_level(__pr_crit, LOGLEVEL_CRIT);
> 1819 define_pr_level(__pr_err, LOGLEVEL_ERR);
> 1820 define_pr_level(__pr_warn, LOGLEVEL_WARNING);
> 1821 define_pr_level(__pr_notice, LOGLEVEL_NOTICE);
> 1822 define_pr_level(__pr_info, LOGLEVEL_NOTICE);
1823
1824 int vprintk_default(int level, const char *fmt, va_list args)
1825 {
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 24890 bytes --]
next prev parent reply other threads:[~2016-06-23 19:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-23 19:09 Joe Perches
2016-06-23 19:50 ` kbuild test robot
2016-06-23 20:01 ` Joe Perches
2016-06-23 19:57 ` kbuild test robot [this message]
2016-06-23 20:10 ` kbuild test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201606240320.buo5Pe4n%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=joe@perches.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®