All of lore.kernel.org
 help / color / mirror / Atom feed
* [koverstreet-bcachefs:pr/739 1/1] fs/bcachefs/btree_iter.h:889:38: error: 'PF_MEMALLOC_NORECLAIM' undeclared; did you mean 'PF_MEMALLOC_NOIO'?
@ 2025-01-02 13:48 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-01-02 13:48 UTC (permalink / raw)
  To: Andrea Gelmini; +Cc: oe-kbuild-all

tree:   https://github.com/koverstreet/bcachefs pr/739
head:   5aab4d7cc3e134b97e6bb36ea9d51325e66e258c
commit: d581cdb2a0705aed99b7534ad8c164ce30377a4e [1/1] Fix typos
config: x86_64-randconfig-006-20250102 (https://download.01.org/0day-ci/archive/20250102/202501022136.QSXMsu7d-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250102/202501022136.QSXMsu7d-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501022136.QSXMsu7d-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from fs/bcachefs/backpointers.h:6,
                    from fs/bcachefs/ec.c:8:
   fs/bcachefs/ec.c: In function 'ec_stripe_mem_alloc':
>> fs/bcachefs/btree_iter.h:889:38: error: 'PF_MEMALLOC_NORECLAIM' undeclared (first use in this function); did you mean 'PF_MEMALLOC_NOIO'?
     889 |         int _ret = memalloc_flags_do(PF_MEMALLOC_NORECLAIM|PF_MEMALLOC_NOWARN, _do);\
         |                                      ^~~~~~~~~~~~~~~~~~~~~
   fs/bcachefs/btree_iter.h:881:53: note: in definition of macro 'memalloc_flags_do'
     881 |         unsigned _saved_flags = memalloc_flags_save(_flags);                    \
         |                                                     ^~~~~~
   fs/bcachefs/ec.c:950:16: note: in expansion of macro 'allocate_dropping_locks_errcode'
     950 |         return allocate_dropping_locks_errcode(trans,
         |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   fs/bcachefs/btree_iter.h:889:38: note: each undeclared identifier is reported only once for each function it appears in
     889 |         int _ret = memalloc_flags_do(PF_MEMALLOC_NORECLAIM|PF_MEMALLOC_NOWARN, _do);\
         |                                      ^~~~~~~~~~~~~~~~~~~~~
   fs/bcachefs/btree_iter.h:881:53: note: in definition of macro 'memalloc_flags_do'
     881 |         unsigned _saved_flags = memalloc_flags_save(_flags);                    \
         |                                                     ^~~~~~
   fs/bcachefs/ec.c:950:16: note: in expansion of macro 'allocate_dropping_locks_errcode'
     950 |         return allocate_dropping_locks_errcode(trans,
         |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> fs/bcachefs/btree_iter.h:889:60: error: 'PF_MEMALLOC_NOWARN' undeclared (first use in this function); did you mean 'PF_MEMALLOC_NOFS'?
     889 |         int _ret = memalloc_flags_do(PF_MEMALLOC_NORECLAIM|PF_MEMALLOC_NOWARN, _do);\
         |                                                            ^~~~~~~~~~~~~~~~~~
   fs/bcachefs/btree_iter.h:881:53: note: in definition of macro 'memalloc_flags_do'
     881 |         unsigned _saved_flags = memalloc_flags_save(_flags);                    \
         |                                                     ^~~~~~
   fs/bcachefs/ec.c:950:16: note: in expansion of macro 'allocate_dropping_locks_errcode'
     950 |         return allocate_dropping_locks_errcode(trans,
         |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from fs/bcachefs/str_hash.h:5,
                    from fs/bcachefs/xattr.h:5,
                    from fs/bcachefs/acl.c:6:
   fs/bcachefs/acl.c: In function 'bch2_acl_from_disk':
   fs/bcachefs/btree_iter.h:899:44: error: 'PF_MEMALLOC_NORECLAIM' undeclared (first use in this function); did you mean 'PF_MEMALLOC_NOIO'?
     899 |         typeof(_do) _p = memalloc_flags_do(PF_MEMALLOC_NORECLAIM|PF_MEMALLOC_NOWARN, _do);\
         |                                            ^~~~~~~~~~~~~~~~~~~~~
   fs/bcachefs/btree_iter.h:881:53: note: in definition of macro 'memalloc_flags_do'
     881 |         unsigned _saved_flags = memalloc_flags_save(_flags);                    \
         |                                                     ^~~~~~
   fs/bcachefs/acl.c:139:15: note: in expansion of macro 'allocate_dropping_locks'
     139 |         acl = allocate_dropping_locks(trans, ret,
         |               ^~~~~~~~~~~~~~~~~~~~~~~
   fs/bcachefs/btree_iter.h:899:44: note: each undeclared identifier is reported only once for each function it appears in
     899 |         typeof(_do) _p = memalloc_flags_do(PF_MEMALLOC_NORECLAIM|PF_MEMALLOC_NOWARN, _do);\
         |                                            ^~~~~~~~~~~~~~~~~~~~~
   fs/bcachefs/btree_iter.h:881:53: note: in definition of macro 'memalloc_flags_do'
     881 |         unsigned _saved_flags = memalloc_flags_save(_flags);                    \
         |                                                     ^~~~~~
   fs/bcachefs/acl.c:139:15: note: in expansion of macro 'allocate_dropping_locks'
     139 |         acl = allocate_dropping_locks(trans, ret,
         |               ^~~~~~~~~~~~~~~~~~~~~~~
   fs/bcachefs/btree_iter.h:899:66: error: 'PF_MEMALLOC_NOWARN' undeclared (first use in this function); did you mean 'PF_MEMALLOC_NOFS'?
     899 |         typeof(_do) _p = memalloc_flags_do(PF_MEMALLOC_NORECLAIM|PF_MEMALLOC_NOWARN, _do);\
         |                                                                  ^~~~~~~~~~~~~~~~~~
   fs/bcachefs/btree_iter.h:881:53: note: in definition of macro 'memalloc_flags_do'
     881 |         unsigned _saved_flags = memalloc_flags_save(_flags);                    \
         |                                                     ^~~~~~
   fs/bcachefs/acl.c:139:15: note: in expansion of macro 'allocate_dropping_locks'
     139 |         acl = allocate_dropping_locks(trans, ret,
         |               ^~~~~~~~~~~~~~~~~~~~~~~
   fs/bcachefs/acl.c: In function 'bch2_acl_chmod':
>> fs/bcachefs/btree_iter.h:889:38: error: 'PF_MEMALLOC_NORECLAIM' undeclared (first use in this function); did you mean 'PF_MEMALLOC_NOIO'?
     889 |         int _ret = memalloc_flags_do(PF_MEMALLOC_NORECLAIM|PF_MEMALLOC_NOWARN, _do);\
         |                                      ^~~~~~~~~~~~~~~~~~~~~
   fs/bcachefs/btree_iter.h:881:53: note: in definition of macro 'memalloc_flags_do'
     881 |         unsigned _saved_flags = memalloc_flags_save(_flags);                    \
         |                                                     ^~~~~~
   fs/bcachefs/acl.c:425:15: note: in expansion of macro 'allocate_dropping_locks_errcode'
     425 |         ret = allocate_dropping_locks_errcode(trans,
         |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> fs/bcachefs/btree_iter.h:889:60: error: 'PF_MEMALLOC_NOWARN' undeclared (first use in this function); did you mean 'PF_MEMALLOC_NOFS'?
     889 |         int _ret = memalloc_flags_do(PF_MEMALLOC_NORECLAIM|PF_MEMALLOC_NOWARN, _do);\
         |                                                            ^~~~~~~~~~~~~~~~~~
   fs/bcachefs/btree_iter.h:881:53: note: in definition of macro 'memalloc_flags_do'
     881 |         unsigned _saved_flags = memalloc_flags_save(_flags);                    \
         |                                                     ^~~~~~
   fs/bcachefs/acl.c:425:15: note: in expansion of macro 'allocate_dropping_locks_errcode'
     425 |         ret = allocate_dropping_locks_errcode(trans,
         |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from fs/bcachefs/btree_locking.h:13,
                    from fs/bcachefs/btree_io.h:7,
                    from fs/bcachefs/btree_cache.c:7:
   fs/bcachefs/btree_cache.c: In function 'bch2_btree_node_mem_alloc':
>> fs/bcachefs/btree_cache.c:831:31: error: 'PF_MEMALLOC_NORECLAIM' undeclared (first use in this function); did you mean 'PF_MEMALLOC_NOIO'?
     831 |         if (memalloc_flags_do(PF_MEMALLOC_NORECLAIM,
         |                               ^~~~~~~~~~~~~~~~~~~~~
   fs/bcachefs/btree_iter.h:881:53: note: in definition of macro 'memalloc_flags_do'
     881 |         unsigned _saved_flags = memalloc_flags_save(_flags);                    \
         |                                                     ^~~~~~
   fs/bcachefs/btree_cache.c:831:31: note: each undeclared identifier is reported only once for each function it appears in
     831 |         if (memalloc_flags_do(PF_MEMALLOC_NORECLAIM,
         |                               ^~~~~~~~~~~~~~~~~~~~~
   fs/bcachefs/btree_iter.h:881:53: note: in definition of macro 'memalloc_flags_do'
     881 |         unsigned _saved_flags = memalloc_flags_save(_flags);                    \
         |                                                     ^~~~~~


vim +889 fs/bcachefs/btree_iter.h

   886	
   887	#define allocate_dropping_locks_errcode(_trans, _do)				\
   888	({										\
 > 889		int _ret = memalloc_flags_do(PF_MEMALLOC_NORECLAIM|PF_MEMALLOC_NOWARN, _do);\
   890											\
   891		if (bch2_err_matches(_ret, ENOMEM)) {					\
   892			_ret = drop_locks_do(_trans, _do);				\
   893		}									\
   894		_ret;									\
   895	})
   896	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

only message in thread, other threads:[~2025-01-02 13:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-02 13:48 [koverstreet-bcachefs:pr/739 1/1] fs/bcachefs/btree_iter.h:889:38: error: 'PF_MEMALLOC_NORECLAIM' undeclared; did you mean 'PF_MEMALLOC_NOIO'? 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.