* [dhowells-fs:fscache-iter 33/33] fs/fscache/internal.h:375:32: error: 'FSCACHE_DEBUG_OBJECT' undeclared; did you mean 'FSCACHE_DEBUG_LEVEL'?
@ 2019-11-13 17:17 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-11-13 17:17 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 11917 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git fscache-iter
head: f62d2e3b55357b54ea4a541e85200ecdccfce7b4
commit: f62d2e3b55357b54ea4a541e85200ecdccfce7b4 [33/33] fscache: Use the dispatcher to replace the state machine
config: i386-randconfig-a003-201945 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
reproduce:
git checkout f62d2e3b55357b54ea4a541e85200ecdccfce7b4
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All error/warnings (new ones prefixed by >>):
In file included from include/linux/export.h:42:0,
from include/linux/linkage.h:7,
from include/linux/kernel.h:8,
from include/linux/list.h:9,
from include/linux/module.h:9,
from fs/fscache/obj.c:12:
fs/fscache/obj.c: In function 'fscache_do_alloc_object':
>> fs/fscache/internal.h:375:32: error: 'FSCACHE_DEBUG_OBJECT' undeclared (first use in this function); did you mean 'FSCACHE_DEBUG_LEVEL'?
(FSCACHE_POINT_##POINT << (FSCACHE_DEBUG_ ## LEVEL * 3))))
^
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
>> fs/fscache/internal.h:377:2: note: in expansion of macro '____do_kdebug'
____do_kdebug(LEVEL, POINT)
^~~~~~~~~~~~~
>> fs/fscache/internal.h:379:2: note: in expansion of macro '___do_kdebug'
___do_kdebug(FSCACHE_DEBUG_LEVEL, POINT)
^~~~~~~~~~~~
>> fs/fscache/internal.h:358:6: note: in expansion of macro '__do_kdebug'
if (__do_kdebug(DEBUG)) \
^~~~~~~~~~~
>> fs/fscache/obj.c:28:3: note: in expansion of macro '_debug'
_debug("ALLOC OBJ%x: %s", object->debug_id, cookie->type_name);
^~~~~~
fs/fscache/internal.h:375:32: note: each undeclared identifier is reported only once for each function it appears in
(FSCACHE_POINT_##POINT << (FSCACHE_DEBUG_ ## LEVEL * 3))))
^
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
>> fs/fscache/internal.h:377:2: note: in expansion of macro '____do_kdebug'
____do_kdebug(LEVEL, POINT)
^~~~~~~~~~~~~
>> fs/fscache/internal.h:379:2: note: in expansion of macro '___do_kdebug'
___do_kdebug(FSCACHE_DEBUG_LEVEL, POINT)
^~~~~~~~~~~~
>> fs/fscache/internal.h:358:6: note: in expansion of macro '__do_kdebug'
if (__do_kdebug(DEBUG)) \
^~~~~~~~~~~
>> fs/fscache/obj.c:28:3: note: in expansion of macro '_debug'
_debug("ALLOC OBJ%x: %s", object->debug_id, cookie->type_name);
^~~~~~
fs/fscache/obj.c: In function 'fscache_lookup_object_chain':
>> fs/fscache/internal.h:375:32: error: 'FSCACHE_DEBUG_OBJECT' undeclared (first use in this function); did you mean 'FSCACHE_DEBUG_LEVEL'?
(FSCACHE_POINT_##POINT << (FSCACHE_DEBUG_ ## LEVEL * 3))))
^
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
>> fs/fscache/internal.h:377:2: note: in expansion of macro '____do_kdebug'
____do_kdebug(LEVEL, POINT)
^~~~~~~~~~~~~
>> fs/fscache/internal.h:379:2: note: in expansion of macro '___do_kdebug'
___do_kdebug(FSCACHE_DEBUG_LEVEL, POINT)
^~~~~~~~~~~~
fs/fscache/internal.h:352:6: note: in expansion of macro '__do_kdebug'
if (__do_kdebug(LEAVE)) \
^~~~~~~~~~~
>> fs/fscache/obj.c:135:2: note: in expansion of macro '_leave'
_leave(" = %u [new]", object->debug_id);
^~~~~~
fs/fscache/obj.c: In function 'fscache_lookup_object_locked':
>> fs/fscache/internal.h:375:32: error: 'FSCACHE_DEBUG_OBJECT' undeclared (first use in this function); did you mean 'FSCACHE_DEBUG_LEVEL'?
(FSCACHE_POINT_##POINT << (FSCACHE_DEBUG_ ## LEVEL * 3))))
^
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
>> fs/fscache/internal.h:377:2: note: in expansion of macro '____do_kdebug'
____do_kdebug(LEVEL, POINT)
^~~~~~~~~~~~~
>> fs/fscache/internal.h:379:2: note: in expansion of macro '___do_kdebug'
___do_kdebug(FSCACHE_DEBUG_LEVEL, POINT)
^~~~~~~~~~~~
fs/fscache/internal.h:346:6: note: in expansion of macro '__do_kdebug'
if (__do_kdebug(ENTER)) \
^~~~~~~~~~~
>> fs/fscache/obj.c:187:2: note: in expansion of macro '_enter'
_enter("");
^~~~~~
fs/fscache/obj.c: In function 'fscache_drop_object':
>> fs/fscache/internal.h:375:32: error: 'FSCACHE_DEBUG_OBJECT' undeclared (first use in this function); did you mean 'FSCACHE_DEBUG_LEVEL'?
(FSCACHE_POINT_##POINT << (FSCACHE_DEBUG_ ## LEVEL * 3))))
^
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
>> fs/fscache/internal.h:377:2: note: in expansion of macro '____do_kdebug'
____do_kdebug(LEVEL, POINT)
^~~~~~~~~~~~~
>> fs/fscache/internal.h:379:2: note: in expansion of macro '___do_kdebug'
___do_kdebug(FSCACHE_DEBUG_LEVEL, POINT)
^~~~~~~~~~~~
fs/fscache/internal.h:346:6: note: in expansion of macro '__do_kdebug'
if (__do_kdebug(ENTER)) \
^~~~~~~~~~~
fs/fscache/obj.c:257:2: note: in expansion of macro '_enter'
_enter("{OBJ%x,%d},%u",
^~~~~~
fs/fscache/obj.c: In function 'fscache_discard_objects':
--
In file included from include/linux/export.h:42:0,
from include/linux/linkage.h:7,
from include/linux/kernel.h:8,
from include/linux/list.h:9,
from include/linux/module.h:9,
from fs/fscache/object_bits.c:12:
fs/fscache/object_bits.c: In function 'fscache_object_destroy':
>> fs/fscache/internal.h:375:32: error: 'FSCACHE_DEBUG_OBJECT' undeclared (first use in this function); did you mean 'FSCACHE_DEBUG_LEVEL'?
(FSCACHE_POINT_##POINT << (FSCACHE_DEBUG_ ## LEVEL * 3))))
^
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
>> fs/fscache/internal.h:377:2: note: in expansion of macro '____do_kdebug'
____do_kdebug(LEVEL, POINT)
^~~~~~~~~~~~~
>> fs/fscache/internal.h:379:2: note: in expansion of macro '___do_kdebug'
___do_kdebug(FSCACHE_DEBUG_LEVEL, POINT)
^~~~~~~~~~~~
fs/fscache/internal.h:346:6: note: in expansion of macro '__do_kdebug'
if (__do_kdebug(ENTER)) \
^~~~~~~~~~~
>> fs/fscache/object_bits.c:59:2: note: in expansion of macro '_enter'
_enter("%u", atomic_read(&object->cache->object_count));
^~~~~~
fs/fscache/internal.h:375:32: note: each undeclared identifier is reported only once for each function it appears in
(FSCACHE_POINT_##POINT << (FSCACHE_DEBUG_ ## LEVEL * 3))))
^
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
>> fs/fscache/internal.h:377:2: note: in expansion of macro '____do_kdebug'
____do_kdebug(LEVEL, POINT)
^~~~~~~~~~~~~
>> fs/fscache/internal.h:379:2: note: in expansion of macro '___do_kdebug'
___do_kdebug(FSCACHE_DEBUG_LEVEL, POINT)
^~~~~~~~~~~~
fs/fscache/internal.h:346:6: note: in expansion of macro '__do_kdebug'
if (__do_kdebug(ENTER)) \
^~~~~~~~~~~
>> fs/fscache/object_bits.c:59:2: note: in expansion of macro '_enter'
_enter("%u", atomic_read(&object->cache->object_count));
^~~~~~
fs/fscache/object_bits.c: In function 'fscache_object_destroyed':
>> fs/fscache/internal.h:375:32: error: 'FSCACHE_DEBUG_OBJECT' undeclared (first use in this function); did you mean 'FSCACHE_DEBUG_LEVEL'?
(FSCACHE_POINT_##POINT << (FSCACHE_DEBUG_ ## LEVEL * 3))))
^
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
>> fs/fscache/internal.h:377:2: note: in expansion of macro '____do_kdebug'
____do_kdebug(LEVEL, POINT)
^~~~~~~~~~~~~
>> fs/fscache/internal.h:379:2: note: in expansion of macro '___do_kdebug'
___do_kdebug(FSCACHE_DEBUG_LEVEL, POINT)
^~~~~~~~~~~~
fs/fscache/internal.h:346:6: note: in expansion of macro '__do_kdebug'
if (__do_kdebug(ENTER)) \
^~~~~~~~~~~
fs/fscache/object_bits.c:71:2: note: in expansion of macro '_enter'
_enter("%d", atomic_read(&cache->object_count));
^~~~~~
vim +375 fs/fscache/internal.h
06b3db1b9bccdc David Howells 2009-04-03 355
06b3db1b9bccdc David Howells 2009-04-03 356 #define _debug(FMT, ...) \
06b3db1b9bccdc David Howells 2009-04-03 357 do { \
06b3db1b9bccdc David Howells 2009-04-03 @358 if (__do_kdebug(DEBUG)) \
06b3db1b9bccdc David Howells 2009-04-03 359 kdebug(FMT, ##__VA_ARGS__); \
06b3db1b9bccdc David Howells 2009-04-03 360 } while (0)
06b3db1b9bccdc David Howells 2009-04-03 361
06b3db1b9bccdc David Howells 2009-04-03 362 #else
12fdff3fc2483f David Howells 2010-08-12 363 #define _enter(FMT, ...) no_printk("==> %s("FMT")", __func__, ##__VA_ARGS__)
12fdff3fc2483f David Howells 2010-08-12 364 #define _leave(FMT, ...) no_printk("<== %s()"FMT"", __func__, ##__VA_ARGS__)
12fdff3fc2483f David Howells 2010-08-12 365 #define _debug(FMT, ...) no_printk(FMT, ##__VA_ARGS__)
06b3db1b9bccdc David Howells 2009-04-03 366 #endif
06b3db1b9bccdc David Howells 2009-04-03 367
06b3db1b9bccdc David Howells 2009-04-03 368 /*
06b3db1b9bccdc David Howells 2009-04-03 369 * determine whether a particular optional debugging point should be logged
06b3db1b9bccdc David Howells 2009-04-03 370 * - we need to go through three steps to persuade cpp to correctly join the
06b3db1b9bccdc David Howells 2009-04-03 371 * shorthand in FSCACHE_DEBUG_LEVEL with its prefix
06b3db1b9bccdc David Howells 2009-04-03 372 */
06b3db1b9bccdc David Howells 2009-04-03 373 #define ____do_kdebug(LEVEL, POINT) \
06b3db1b9bccdc David Howells 2009-04-03 374 unlikely((fscache_debug & \
06b3db1b9bccdc David Howells 2009-04-03 @375 (FSCACHE_POINT_##POINT << (FSCACHE_DEBUG_ ## LEVEL * 3))))
06b3db1b9bccdc David Howells 2009-04-03 376 #define ___do_kdebug(LEVEL, POINT) \
06b3db1b9bccdc David Howells 2009-04-03 @377 ____do_kdebug(LEVEL, POINT)
06b3db1b9bccdc David Howells 2009-04-03 378 #define __do_kdebug(POINT) \
06b3db1b9bccdc David Howells 2009-04-03 @379 ___do_kdebug(FSCACHE_DEBUG_LEVEL, POINT)
06b3db1b9bccdc David Howells 2009-04-03 380
:::::: The code@line 375 was first introduced by commit
:::::: 06b3db1b9bccdc8c2c743122a89745279e5ecc46 FS-Cache: Add main configuration option, module entry points and debugging
:::::: TO: David Howells <dhowells@redhat.com>
:::::: CC: David Howells <dhowells@redhat.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35944 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-11-13 17:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-13 17:17 [dhowells-fs:fscache-iter 33/33] fs/fscache/internal.h:375:32: error: 'FSCACHE_DEBUG_OBJECT' undeclared; did you mean 'FSCACHE_DEBUG_LEVEL'? kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.