All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Andrea Gelmini <andrea.gelmini@gelma.net>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [koverstreet-bcachefs:pr/739 1/1] fs/bcachefs/btree_iter.h:889:38: error: 'PF_MEMALLOC_NORECLAIM' undeclared; did you mean 'PF_MEMALLOC_NOIO'?
Date: Thu, 2 Jan 2025 21:48:13 +0800	[thread overview]
Message-ID: <202501022136.QSXMsu7d-lkp@intel.com> (raw)

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

                 reply	other threads:[~2025-01-02 13:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202501022136.QSXMsu7d-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andrea.gelmini@gelma.net \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 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.