All of lore.kernel.org
 help / color / mirror / Atom feed
* [dhowells-fs:fscache-cache-2 83/84] fs/fscache/io.c:25:2: error: use of undeclared identifier 'FSCACHE_DEBUG_OPERATION'
@ 2021-04-01 18:42 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-01 18:42 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 10125 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git fscache-cache-2
head:   8c0dade745a9bacc037c10f7fb0f1900738ebd47
commit: 62b8b745edb02283b51525fd6a7a1a74f5144ea6 [83/84] fscache: Overhaul the index
config: arm64-randconfig-r035-20210401 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 1c268a8ff4e90a85d0e634350b1104080614cf2b)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/commit/?id=62b8b745edb02283b51525fd6a7a1a74f5144ea6
        git remote add dhowells-fs https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
        git fetch --no-tags dhowells-fs fscache-cache-2
        git checkout 62b8b745edb02283b51525fd6a7a1a74f5144ea6
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> fs/fscache/io.c:25:2: error: use of undeclared identifier 'FSCACHE_DEBUG_OPERATION'
           _enter("c=%08x{%u},%x", cookie->debug_id, stage, want_stage);
           ^
   fs/fscache/internal.h:152:6: note: expanded from macro '_enter'
           if (__do_kdebug(ENTER))                 \
               ^
   fs/fscache/internal.h:185:2: note: expanded from macro '__do_kdebug'
           ___do_kdebug(FSCACHE_DEBUG_LEVEL, POINT)
           ^
   fs/fscache/internal.h:183:2: note: expanded from macro '___do_kdebug'
           ____do_kdebug(LEVEL, POINT)
           ^
   fs/fscache/internal.h:181:32: note: expanded from macro '____do_kdebug'
                     (FSCACHE_POINT_##POINT << (FSCACHE_DEBUG_ ## LEVEL * 3))))
                                                ^
   <scratch space>:78:1: note: expanded from here
   FSCACHE_DEBUG_OPERATION
   ^
>> fs/fscache/io.c:25:2: error: use of undeclared identifier 'FSCACHE_DEBUG_OPERATION'
   fs/fscache/internal.h:152:6: note: expanded from macro '_enter'
           if (__do_kdebug(ENTER))                 \
               ^
   fs/fscache/internal.h:185:2: note: expanded from macro '__do_kdebug'
           ___do_kdebug(FSCACHE_DEBUG_LEVEL, POINT)
           ^
   fs/fscache/internal.h:183:2: note: expanded from macro '___do_kdebug'
           ____do_kdebug(LEVEL, POINT)
           ^
   fs/fscache/internal.h:181:32: note: expanded from macro '____do_kdebug'
                     (FSCACHE_POINT_##POINT << (FSCACHE_DEBUG_ ## LEVEL * 3))))
                                                ^
   <scratch space>:78:1: note: expanded from here
   FSCACHE_DEBUG_OPERATION
   ^
   fs/fscache/io.c:28:3: error: use of undeclared identifier 'FSCACHE_DEBUG_OPERATION'
                   _leave(" [broken]");
                   ^
   fs/fscache/internal.h:158:6: note: expanded from macro '_leave'
           if (__do_kdebug(LEAVE))                 \
               ^
   fs/fscache/internal.h:185:2: note: expanded from macro '__do_kdebug'
           ___do_kdebug(FSCACHE_DEBUG_LEVEL, POINT)
           ^
   fs/fscache/internal.h:183:2: note: expanded from macro '___do_kdebug'
           ____do_kdebug(LEVEL, POINT)
           ^
   fs/fscache/internal.h:181:32: note: expanded from macro '____do_kdebug'
                     (FSCACHE_POINT_##POINT << (FSCACHE_DEBUG_ ## LEVEL * 3))))
                                                ^
   <scratch space>:82:1: note: expanded from here
   FSCACHE_DEBUG_OPERATION
   ^
   fs/fscache/io.c:28:3: error: use of undeclared identifier 'FSCACHE_DEBUG_OPERATION'
   fs/fscache/internal.h:158:6: note: expanded from macro '_leave'
           if (__do_kdebug(LEAVE))                 \
               ^
   fs/fscache/internal.h:185:2: note: expanded from macro '__do_kdebug'
           ___do_kdebug(FSCACHE_DEBUG_LEVEL, POINT)
           ^
   fs/fscache/internal.h:183:2: note: expanded from macro '___do_kdebug'
           ____do_kdebug(LEVEL, POINT)
           ^
   fs/fscache/internal.h:181:32: note: expanded from macro '____do_kdebug'
                     (FSCACHE_POINT_##POINT << (FSCACHE_DEBUG_ ## LEVEL * 3))))
                                                ^
   <scratch space>:82:1: note: expanded from here
   FSCACHE_DEBUG_OPERATION
   ^
   fs/fscache/io.c:43:3: error: use of undeclared identifier 'FSCACHE_DEBUG_OPERATION'
                   _leave(" [not live]");
                   ^
   fs/fscache/internal.h:158:6: note: expanded from macro '_leave'
           if (__do_kdebug(LEAVE))                 \
               ^
   fs/fscache/internal.h:185:2: note: expanded from macro '__do_kdebug'
           ___do_kdebug(FSCACHE_DEBUG_LEVEL, POINT)
           ^
   fs/fscache/internal.h:183:2: note: expanded from macro '___do_kdebug'
           ____do_kdebug(LEVEL, POINT)
           ^
   fs/fscache/internal.h:181:32: note: expanded from macro '____do_kdebug'
                     (FSCACHE_POINT_##POINT << (FSCACHE_DEBUG_ ## LEVEL * 3))))
                                                ^
   <scratch space>:91:1: note: expanded from here
   FSCACHE_DEBUG_OPERATION
   ^
   fs/fscache/io.c:43:3: error: use of undeclared identifier 'FSCACHE_DEBUG_OPERATION'
   fs/fscache/internal.h:158:6: note: expanded from macro '_leave'
           if (__do_kdebug(LEAVE))                 \
               ^
   fs/fscache/internal.h:185:2: note: expanded from macro '__do_kdebug'
           ___do_kdebug(FSCACHE_DEBUG_LEVEL, POINT)
           ^
   fs/fscache/internal.h:183:2: note: expanded from macro '___do_kdebug'
           ____do_kdebug(LEVEL, POINT)
           ^
   fs/fscache/internal.h:181:32: note: expanded from macro '____do_kdebug'
                     (FSCACHE_POINT_##POINT << (FSCACHE_DEBUG_ ## LEVEL * 3))))
                                                ^
   <scratch space>:91:1: note: expanded from here
   FSCACHE_DEBUG_OPERATION
   ^
   fs/fscache/io.c:69:2: error: use of undeclared identifier 'FSCACHE_DEBUG_OPERATION'
           _enter("c=%08x{%u},%x", cookie->debug_id, stage, want_stage);
           ^
   fs/fscache/internal.h:152:6: note: expanded from macro '_enter'
           if (__do_kdebug(ENTER))                 \
               ^
   fs/fscache/internal.h:185:2: note: expanded from macro '__do_kdebug'
           ___do_kdebug(FSCACHE_DEBUG_LEVEL, POINT)
           ^
   fs/fscache/internal.h:183:2: note: expanded from macro '___do_kdebug'
           ____do_kdebug(LEVEL, POINT)
           ^
   fs/fscache/internal.h:181:32: note: expanded from macro '____do_kdebug'
                     (FSCACHE_POINT_##POINT << (FSCACHE_DEBUG_ ## LEVEL * 3))))
                                                ^
   <scratch space>:112:1: note: expanded from here
   FSCACHE_DEBUG_OPERATION


vim +/FSCACHE_DEBUG_OPERATION +25 fs/fscache/io.c

a21444f0c71d19 David Howells 2021-02-22  13  
a21444f0c71d19 David Howells 2021-02-22  14  /*
1c045f077ca728 David Howells 2020-02-06  15   * Wait for a cookie to reach the specified stage.
a21444f0c71d19 David Howells 2021-02-22  16   */
1c045f077ca728 David Howells 2020-02-06  17  void __fscache_wait_for_operation(struct netfs_cache_resources *cres,
1c045f077ca728 David Howells 2020-02-06  18  				  enum fscache_want_stage want_stage)
a21444f0c71d19 David Howells 2021-02-22  19  {
62b8b745edb022 David Howells 2021-03-18  20  	struct fscache_cookie *cookie = fscache_cres_cookie(cres);
1c045f077ca728 David Howells 2020-02-06  21  	enum fscache_cookie_stage stage;
a21444f0c71d19 David Howells 2021-02-22  22  
1c045f077ca728 David Howells 2020-02-06  23  again:
1c045f077ca728 David Howells 2020-02-06  24  	stage = READ_ONCE(cookie->stage);
1c045f077ca728 David Howells 2020-02-06 @25  	_enter("c=%08x{%u},%x", cookie->debug_id, stage, want_stage);
a21444f0c71d19 David Howells 2021-02-22  26  
62b8b745edb022 David Howells 2021-03-18  27  	if (!fscache_cache_is_live(cookie->volume->cache)) {
1c045f077ca728 David Howells 2020-02-06  28  		_leave(" [broken]");
1c045f077ca728 David Howells 2020-02-06  29  		return;
1c045f077ca728 David Howells 2020-02-06  30  	}
a21444f0c71d19 David Howells 2021-02-22  31  
1c045f077ca728 David Howells 2020-02-06  32  	switch (stage) {
1c045f077ca728 David Howells 2020-02-06  33  	case FSCACHE_COOKIE_STAGE_LOOKING_UP:
1c045f077ca728 David Howells 2020-02-06  34  	case FSCACHE_COOKIE_STAGE_INVALIDATING:
1c045f077ca728 David Howells 2020-02-06  35  		wait_var_event(&cookie->stage, READ_ONCE(cookie->stage) != stage);
1c045f077ca728 David Howells 2020-02-06  36  		goto again;
1c045f077ca728 David Howells 2020-02-06  37  
1c045f077ca728 David Howells 2020-02-06  38  	case FSCACHE_COOKIE_STAGE_ACTIVE:
1c045f077ca728 David Howells 2020-02-06  39  		return;
1c045f077ca728 David Howells 2020-02-06  40  	case FSCACHE_COOKIE_STAGE_DROPPED:
1c045f077ca728 David Howells 2020-02-06  41  	case FSCACHE_COOKIE_STAGE_RELINQUISHING:
1c045f077ca728 David Howells 2020-02-06  42  	default:
1c045f077ca728 David Howells 2020-02-06  43  		_leave(" [not live]");
1c045f077ca728 David Howells 2020-02-06  44  		return;
1c045f077ca728 David Howells 2020-02-06  45  	}
a21444f0c71d19 David Howells 2021-02-22  46  }
1c045f077ca728 David Howells 2020-02-06  47  EXPORT_SYMBOL(__fscache_wait_for_operation);
a21444f0c71d19 David Howells 2021-02-22  48  

:::::: The code at line 25 was first introduced by commit
:::::: 1c045f077ca7286ca73f747da42796fda42610f6 fscache: Rewrite the I/O API based on iov_iter

:::::: TO: David Howells <dhowells@redhat.com>
:::::: CC: David Howells <dhowells@redhat.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 26157 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-01 18:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-01 18:42 [dhowells-fs:fscache-cache-2 83/84] fs/fscache/io.c:25:2: error: use of undeclared identifier 'FSCACHE_DEBUG_OPERATION' kernel 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.