Re: [PATCH] UBIFS: rename free variable

From: kbuild test robot
Date: Thu Oct 08 2015 - 23:42:21 EST


Hi Heiko,

[auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please ignore]

config: x86_64-randconfig-x002-201540 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

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

In file included from include/linux/printk.h:277:0,
from include/linux/kernel.h:13,
from include/linux/list.h:8,
from include/linux/wait.h:6,
from include/linux/fs.h:5,
from fs/ubifs/ubifs.h:28,
from fs/ubifs/lprops.c:31:
fs/ubifs/lprops.c: In function 'ubifs_change_lp':
>> fs/ubifs/lprops.c:546:23: error: 'free' undeclared (first use in this function)
lprops->lnum, free, dirty, flags);
^
include/linux/dynamic_debug.h:79:10: note: in definition of macro 'dynamic_pr_debug'
##__VA_ARGS__); \
^
fs/ubifs/debug.h:168:2: note: in expansion of macro 'pr_debug'
pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid, \
^
fs/ubifs/debug.h:190:29: note: in expansion of macro 'ubifs_dbg_msg'
#define dbg_lp(fmt, ...) ubifs_dbg_msg("lp", fmt, ##__VA_ARGS__)
^
>> fs/ubifs/lprops.c:545:2: note: in expansion of macro 'dbg_lp'
dbg_lp("LEB %d, free %d, dirty %d, flags %d",
^
fs/ubifs/lprops.c:546:23: note: each undeclared identifier is reported only once for each function it appears in
lprops->lnum, free, dirty, flags);
^
include/linux/dynamic_debug.h:79:10: note: in definition of macro 'dynamic_pr_debug'
##__VA_ARGS__); \
^
fs/ubifs/debug.h:168:2: note: in expansion of macro 'pr_debug'
pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid, \
^
fs/ubifs/debug.h:190:29: note: in expansion of macro 'ubifs_dbg_msg'
#define dbg_lp(fmt, ...) ubifs_dbg_msg("lp", fmt, ##__VA_ARGS__)
^
>> fs/ubifs/lprops.c:545:2: note: in expansion of macro 'dbg_lp'
dbg_lp("LEB %d, free %d, dirty %d, flags %d",
^

vim +/free +546 fs/ubifs/lprops.c

1e51764a Artem Bityutskiy 2008-07-14 539 /*
1e51764a Artem Bityutskiy 2008-07-14 540 * This is the only function that is allowed to change lprops, so we
055da1b7 Artem Bityutskiy 2009-09-15 541 * discard the "const" qualifier.
1e51764a Artem Bityutskiy 2008-07-14 542 */
1e51764a Artem Bityutskiy 2008-07-14 543 struct ubifs_lprops *lprops = (struct ubifs_lprops *)lp;
1e51764a Artem Bityutskiy 2008-07-14 544
1e51764a Artem Bityutskiy 2008-07-14 @545 dbg_lp("LEB %d, free %d, dirty %d, flags %d",
1e51764a Artem Bityutskiy 2008-07-14 @546 lprops->lnum, free, dirty, flags);
1e51764a Artem Bityutskiy 2008-07-14 547
1e51764a Artem Bityutskiy 2008-07-14 548 ubifs_assert(mutex_is_locked(&c->lp_mutex));
1e51764a Artem Bityutskiy 2008-07-14 549 ubifs_assert(c->lst.empty_lebs >= 0 &&

:::::: The code at line 546 was first introduced by commit
:::::: 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d UBIFS: add new flash file system

:::::: TO: Artem Bityutskiy <Artem.Bityutskiy@xxxxxxxxx>
:::::: CC: Artem Bityutskiy <Artem.Bityutskiy@xxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data