From: kbuild test robot <lkp@intel.com>
To: Gaurav Pathak <gauravpathak129@gmail.com>
Cc: kbuild-all@01.org, joe@perches.com, linux-kernel@vger.kernel.org,
gregkh@linuxfoundation.org,
Gaurav Pathak <gauravpathak129@gmail.com>
Subject: Re: [PATCH] staging: rts5208: Replace embedded function names with "%s: ", __func__
Date: Fri, 7 Jul 2017 03:00:36 +0800 [thread overview]
Message-ID: <201707070224.eMt7vStF%fengguang.wu@intel.com> (raw)
In-Reply-To: <1499180457-5571-1-git-send-email-gauravpathak129@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 19045 bytes --]
Hi Gaurav,
[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v4.12 next-20170706]
[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/Gaurav-Pathak/staging-rts5208-Replace-embedded-function-names-with-s-__func__/20170706-131957
config: i386-randconfig-c0-07070124 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
drivers/staging/rts5208/sd.c: In function 'sd_check_switch_mode':
drivers/staging/rts5208/sd.c:1228:26: warning: missing terminating " character
dev_dbg(rtsx_dev(chip), "%s (mode = %d, func_group = %d,
^
In file included from include/linux/printk.h:329:0,
from include/linux/kernel.h:13,
from arch/x86/include/asm/percpu.h:44,
from arch/x86/include/asm/current.h:5,
from include/linux/sched.h:11,
from include/linux/blkdev.h:4,
from drivers/staging/rts5208/sd.c:23:
include/linux/dynamic_debug.h:74:16: error: missing terminating " character
static struct _ddebug __aligned(8) \
^
include/linux/dynamic_debug.h:98:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
DEFINE_DYNAMIC_DEBUG_METADATA_KEY(name, fmt, .key.dd_key_false, \
^
include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
^
include/linux/device.h:1320:2: note: in expansion of macro 'dynamic_dev_dbg'
dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
^
drivers/staging/rts5208/sd.c:1228:2: note: in expansion of macro 'dev_dbg'
dev_dbg(rtsx_dev(chip), "%s (mode = %d, func_group = %d,
^
drivers/staging/rts5208/sd.c:1229:20: error: expected expression before '%' token
func_to_switch = %d)\n", __func__, mode, func_group,
^
include/linux/dynamic_debug.h:79:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
.format = (fmt), \
^
include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
^
include/linux/device.h:1320:2: note: in expansion of macro 'dynamic_dev_dbg'
dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
^
drivers/staging/rts5208/sd.c:1228:2: note: in expansion of macro 'dev_dbg'
dev_dbg(rtsx_dev(chip), "%s (mode = %d, func_group = %d,
^
In file included from include/linux/dynamic_debug.h:5:0,
from include/linux/printk.h:329,
from include/linux/kernel.h:13,
from arch/x86/include/asm/percpu.h:44,
from arch/x86/include/asm/current.h:5,
from include/linux/sched.h:11,
from include/linux/blkdev.h:4,
from drivers/staging/rts5208/sd.c:23:
>> include/linux/jump_label.h:391:59: error: missing terminating " character
else if (__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \
^
include/linux/dynamic_debug.h:102:2: note: in expansion of macro 'static_branch_unlikely'
static_branch_unlikely(&descriptor.key.dd_key_false)
^
include/linux/dynamic_debug.h:133:6: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH'
if (DYNAMIC_DEBUG_BRANCH(descriptor)) \
^
include/linux/device.h:1320:2: note: in expansion of macro 'dynamic_dev_dbg'
dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
^
drivers/staging/rts5208/sd.c:1228:2: note: in expansion of macro 'dev_dbg'
dev_dbg(rtsx_dev(chip), "%s (mode = %d, func_group = %d,
^
In file included from include/linux/printk.h:329:0,
from include/linux/kernel.h:13,
from arch/x86/include/asm/percpu.h:44,
from arch/x86/include/asm/current.h:5,
from include/linux/sched.h:11,
from include/linux/blkdev.h:4,
from drivers/staging/rts5208/sd.c:23:
drivers/staging/rts5208/sd.c:1229:20: error: expected expression before '%' token
func_to_switch = %d)\n", __func__, mode, func_group,
^
include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
__dynamic_dev_dbg(&descriptor, dev, fmt, \
^
drivers/staging/rts5208/sd.c:1228:2: note: in expansion of macro 'dev_dbg'
dev_dbg(rtsx_dev(chip), "%s (mode = %d, func_group = %d,
^
drivers/staging/rts5208/sd.c:1229:20: error: stray '\' in program
func_to_switch = %d)\n", __func__, mode, func_group,
^
include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
__dynamic_dev_dbg(&descriptor, dev, fmt, \
^
drivers/staging/rts5208/sd.c:1228:2: note: in expansion of macro 'dev_dbg'
dev_dbg(rtsx_dev(chip), "%s (mode = %d, func_group = %d,
^
drivers/staging/rts5208/sd.c:1229:24: error: expected ';' before 'n'
func_to_switch = %d)\n", __func__, mode, func_group,
^
drivers/staging/rts5208/sd.c:1229:25: warning: missing terminating " character
func_to_switch = %d)\n", __func__, mode, func_group,
^
drivers/staging/rts5208/sd.c:1229:24: error: missing terminating " character
func_to_switch = %d)\n", __func__, mode, func_group,
^
drivers/staging/rts5208/sd.c: In function 'sd_execute_write_data':
drivers/staging/rts5208/sd.c:5041:27: warning: missing terminating " character
dev_dbg(rtsx_dev(chip), "sd_lock_state = 0x%x,
^
drivers/staging/rts5208/sd.c:5042:37: warning: missing terminating " character
sd_card->sd_lock_status = 0x%x\n",
^
In file included from include/linux/printk.h:329:0,
from include/linux/kernel.h:13,
from arch/x86/include/asm/percpu.h:44,
from arch/x86/include/asm/current.h:5,
from include/linux/sched.h:11,
from include/linux/blkdev.h:4,
from drivers/staging/rts5208/sd.c:23:
include/linux/dynamic_debug.h:74:16: error: missing terminating " character
static struct _ddebug __aligned(8) \
^
include/linux/dynamic_debug.h:98:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
DEFINE_DYNAMIC_DEBUG_METADATA_KEY(name, fmt, .key.dd_key_false, \
^
include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
^
include/linux/device.h:1320:2: note: in expansion of macro 'dynamic_dev_dbg'
dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
^
drivers/staging/rts5208/sd.c:5041:3: note: in expansion of macro 'dev_dbg'
dev_dbg(rtsx_dev(chip), "sd_lock_state = 0x%x,
^
drivers/staging/rts5208/sd.c:5042:31: error: invalid suffix "x" on integer constant
sd_card->sd_lock_status = 0x%x\n",
^
include/linux/dynamic_debug.h:79:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
.format = (fmt), \
^
include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
^
include/linux/device.h:1320:2: note: in expansion of macro 'dynamic_dev_dbg'
dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
^
drivers/staging/rts5208/sd.c:5041:3: note: in expansion of macro 'dev_dbg'
dev_dbg(rtsx_dev(chip), "sd_lock_state = 0x%x,
^
include/linux/dynamic_debug.h:74:16: error: stray '\' in program
static struct _ddebug __aligned(8) \
^
include/linux/dynamic_debug.h:98:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
DEFINE_DYNAMIC_DEBUG_METADATA_KEY(name, fmt, .key.dd_key_false, \
^
include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
^
include/linux/device.h:1320:2: note: in expansion of macro 'dynamic_dev_dbg'
dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
^
drivers/staging/rts5208/sd.c:5041:3: note: in expansion of macro 'dev_dbg'
dev_dbg(rtsx_dev(chip), "sd_lock_state = 0x%x,
^
drivers/staging/rts5208/sd.c:5042:34: error: 'x' undeclared (first use in this function)
sd_card->sd_lock_status = 0x%x\n",
^
include/linux/dynamic_debug.h:79:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
.format = (fmt), \
^
include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
^
include/linux/device.h:1320:2: note: in expansion of macro 'dynamic_dev_dbg'
dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
^
drivers/staging/rts5208/sd.c:5041:3: note: in expansion of macro 'dev_dbg'
dev_dbg(rtsx_dev(chip), "sd_lock_state = 0x%x,
^
drivers/staging/rts5208/sd.c:5042:34: note: each undeclared identifier is reported only once for each function it appears in
sd_card->sd_lock_status = 0x%x\n",
^
include/linux/dynamic_debug.h:79:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
.format = (fmt), \
^
include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
^
include/linux/device.h:1320:2: note: in expansion of macro 'dynamic_dev_dbg'
dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
^
drivers/staging/rts5208/sd.c:5041:3: note: in expansion of macro 'dev_dbg'
dev_dbg(rtsx_dev(chip), "sd_lock_state = 0x%x,
^
drivers/staging/rts5208/sd.c:5042:36: error: expected ')' before 'n'
sd_card->sd_lock_status = 0x%x\n",
^
include/linux/dynamic_debug.h:79:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
.format = (fmt), \
^
include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
^
include/linux/device.h:1320:2: note: in expansion of macro 'dynamic_dev_dbg'
dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
^
drivers/staging/rts5208/sd.c:5041:3: note: in expansion of macro 'dev_dbg'
dev_dbg(rtsx_dev(chip), "sd_lock_state = 0x%x,
^
drivers/staging/rts5208/sd.c:5042:36: error: missing terminating " character
sd_card->sd_lock_status = 0x%x\n",
^
include/linux/dynamic_debug.h:79:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
.format = (fmt), \
^
include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
^
include/linux/device.h:1320:2: note: in expansion of macro 'dynamic_dev_dbg'
dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
^
drivers/staging/rts5208/sd.c:5041:3: note: in expansion of macro 'dev_dbg'
dev_dbg(rtsx_dev(chip), "sd_lock_state = 0x%x,
^
In file included from include/linux/dynamic_debug.h:5:0,
from include/linux/printk.h:329,
from include/linux/kernel.h:13,
from arch/x86/include/asm/percpu.h:44,
from arch/x86/include/asm/current.h:5,
from include/linux/sched.h:11,
from include/linux/blkdev.h:4,
from drivers/staging/rts5208/sd.c:23:
>> include/linux/jump_label.h:391:59: error: missing terminating " character
else if (__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \
^
include/linux/dynamic_debug.h:102:2: note: in expansion of macro 'static_branch_unlikely'
static_branch_unlikely(&descriptor.key.dd_key_false)
^
include/linux/dynamic_debug.h:133:6: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH'
if (DYNAMIC_DEBUG_BRANCH(descriptor)) \
^
include/linux/device.h:1320:2: note: in expansion of macro 'dynamic_dev_dbg'
dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
^
drivers/staging/rts5208/sd.c:5041:3: note: in expansion of macro 'dev_dbg'
dev_dbg(rtsx_dev(chip), "sd_lock_state = 0x%x,
^
In file included from include/linux/printk.h:329:0,
from include/linux/kernel.h:13,
from arch/x86/include/asm/percpu.h:44,
from arch/x86/include/asm/current.h:5,
from include/linux/sched.h:11,
from include/linux/blkdev.h:4,
from drivers/staging/rts5208/sd.c:23:
drivers/staging/rts5208/sd.c:5042:31: error: invalid suffix "x" on integer constant
sd_card->sd_lock_status = 0x%x\n",
^
include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
__dynamic_dev_dbg(&descriptor, dev, fmt, \
^
drivers/staging/rts5208/sd.c:5041:3: note: in expansion of macro 'dev_dbg'
dev_dbg(rtsx_dev(chip), "sd_lock_state = 0x%x,
^
In file included from include/linux/dynamic_debug.h:5:0,
from include/linux/printk.h:329,
from include/linux/kernel.h:13,
from arch/x86/include/asm/percpu.h:44,
from arch/x86/include/asm/current.h:5,
from include/linux/sched.h:11,
from include/linux/blkdev.h:4,
from drivers/staging/rts5208/sd.c:23:
include/linux/jump_label.h:391:59: error: stray '\' in program
else if (__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \
^
include/linux/dynamic_debug.h:102:2: note: in expansion of macro 'static_branch_unlikely'
static_branch_unlikely(&descriptor.key.dd_key_false)
^
include/linux/dynamic_debug.h:133:6: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH'
if (DYNAMIC_DEBUG_BRANCH(descriptor)) \
^
include/linux/device.h:1320:2: note: in expansion of macro 'dynamic_dev_dbg'
dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
^
drivers/staging/rts5208/sd.c:5041:3: note: in expansion of macro 'dev_dbg'
dev_dbg(rtsx_dev(chip), "sd_lock_state = 0x%x,
^
In file included from include/linux/printk.h:329:0,
from include/linux/kernel.h:13,
from arch/x86/include/asm/percpu.h:44,
from arch/x86/include/asm/current.h:5,
from include/linux/sched.h:11,
from include/linux/blkdev.h:4,
from drivers/staging/rts5208/sd.c:23:
drivers/staging/rts5208/sd.c:5042:36: error: expected ')' before 'n'
sd_card->sd_lock_status = 0x%x\n",
^
include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
__dynamic_dev_dbg(&descriptor, dev, fmt, \
^
drivers/staging/rts5208/sd.c:5041:3: note: in expansion of macro 'dev_dbg'
dev_dbg(rtsx_dev(chip), "sd_lock_state = 0x%x,
^
drivers/staging/rts5208/sd.c:5042:36: error: missing terminating " character
sd_card->sd_lock_status = 0x%x\n",
^
include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
__dynamic_dev_dbg(&descriptor, dev, fmt, \
^
drivers/staging/rts5208/sd.c:5041:3: note: in expansion of macro 'dev_dbg'
dev_dbg(rtsx_dev(chip), "sd_lock_state = 0x%x,
^
..
vim +391 include/linux/jump_label.h
11276d53 Peter Zijlstra 2015-07-24 375 ({ \
11276d53 Peter Zijlstra 2015-07-24 376 bool branch; \
11276d53 Peter Zijlstra 2015-07-24 377 if (__builtin_types_compatible_p(typeof(*x), struct static_key_true)) \
11276d53 Peter Zijlstra 2015-07-24 378 branch = !arch_static_branch(&(x)->key, true); \
11276d53 Peter Zijlstra 2015-07-24 379 else if (__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \
11276d53 Peter Zijlstra 2015-07-24 380 branch = !arch_static_branch_jump(&(x)->key, true); \
11276d53 Peter Zijlstra 2015-07-24 381 else \
11276d53 Peter Zijlstra 2015-07-24 382 branch = ____wrong_branch_error(); \
11276d53 Peter Zijlstra 2015-07-24 383 branch; \
11276d53 Peter Zijlstra 2015-07-24 384 })
11276d53 Peter Zijlstra 2015-07-24 385
11276d53 Peter Zijlstra 2015-07-24 386 #define static_branch_unlikely(x) \
11276d53 Peter Zijlstra 2015-07-24 387 ({ \
11276d53 Peter Zijlstra 2015-07-24 388 bool branch; \
11276d53 Peter Zijlstra 2015-07-24 389 if (__builtin_types_compatible_p(typeof(*x), struct static_key_true)) \
11276d53 Peter Zijlstra 2015-07-24 390 branch = arch_static_branch_jump(&(x)->key, false); \
11276d53 Peter Zijlstra 2015-07-24 @391 else if (__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \
11276d53 Peter Zijlstra 2015-07-24 392 branch = arch_static_branch(&(x)->key, false); \
11276d53 Peter Zijlstra 2015-07-24 393 else \
11276d53 Peter Zijlstra 2015-07-24 394 branch = ____wrong_branch_error(); \
11276d53 Peter Zijlstra 2015-07-24 395 branch; \
11276d53 Peter Zijlstra 2015-07-24 396 })
11276d53 Peter Zijlstra 2015-07-24 397
11276d53 Peter Zijlstra 2015-07-24 398 #else /* !HAVE_JUMP_LABEL */
11276d53 Peter Zijlstra 2015-07-24 399
:::::: The code at line 391 was first introduced by commit
:::::: 11276d5306b8e5b438a36bbff855fe792d7eaa61 locking/static_keys: Add a new static_key interface
:::::: TO: Peter Zijlstra <peterz@infradead.org>
:::::: CC: Ingo Molnar <mingo@kernel.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28419 bytes --]
next prev parent reply other threads:[~2017-07-06 19:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-04 15:00 Gaurav Pathak
2017-07-06 19:00 ` kbuild test robot [this message]
2017-07-06 20:14 ` kbuild test robot
2017-07-07 15:59 ` Gaurav Pathak
2017-07-11 17:25 ` Greg KH
2017-07-13 14:32 ` [PATCH v1] staging: rts5208: Change fixed " Gaurav Pathak
2017-07-13 14:38 ` Greg KH
[not found] ` <08096761-5c72-f1a4-d04f-cd87b451b46f@gmail.com>
[not found] ` <20170713153859.GA5047@kroah.com>
2017-07-13 16:00 ` Gaurav Pathak
2017-07-13 16:24 ` Greg KH
2017-07-14 14:08 ` Gaurav Pathak
2017-07-17 12:28 ` Greg KH
2017-07-17 14:49 ` Gaurav Pathak
2017-07-18 6:57 ` Greg KH
2017-07-20 16:12 ` Gaurav Pathak
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=201707070224.eMt7vStF%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=gauravpathak129@gmail.com \
--cc=gregkh@linuxfoundation.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®