From: kernel test robot <lkp@intel.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>,
Dan Schatzberg <schatzberg.dan@gmail.com>
Subject: [akpm-mm:mm-unstable 300/300] include/linux/mmdebug.h:114:35: error: expected expression before 'do'
Date: Thu, 4 Apr 2024 19:31:40 +0800 [thread overview]
Message-ID: <202404041924.UiccBz3l-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head: e04f729678f630b7304f9a8d5d22819fe589681a
commit: e04f729678f630b7304f9a8d5d22819fe589681a [300/300] __mod_memcg_lruvec_state(): enhance diagnostics
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20240404/202404041924.UiccBz3l-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240404/202404041924.UiccBz3l-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/202404041924.UiccBz3l-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/arm64/include/asm/memory.h:213,
from arch/arm64/include/asm/page.h:46,
from include/linux/page_counter.h:8,
from mm/memcontrol.c:28:
mm/memcontrol.c: In function '__mod_memcg_lruvec_state':
>> include/linux/mmdebug.h:114:35: error: expected expression before 'do'
114 | #define VM_WARN_ON_IRQS_ENABLED() do { } while (0)
| ^~
mm/memcontrol.c:867:29: note: in expansion of macro 'VM_WARN_ON_IRQS_ENABLED'
867 | if (VM_WARN_ON_IRQS_ENABLED())
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/do +114 include/linux/mmdebug.h
59ea746337c69f Jiri Slaby 2008-06-12 110
a738e9bad6030d Thomas Gleixner 2022-08-25 111 #ifdef CONFIG_DEBUG_VM_IRQSOFF
a738e9bad6030d Thomas Gleixner 2022-08-25 112 #define VM_WARN_ON_IRQS_ENABLED() WARN_ON_ONCE(!irqs_disabled())
a738e9bad6030d Thomas Gleixner 2022-08-25 113 #else
a738e9bad6030d Thomas Gleixner 2022-08-25 @114 #define VM_WARN_ON_IRQS_ENABLED() do { } while (0)
a738e9bad6030d Thomas Gleixner 2022-08-25 115 #endif
a738e9bad6030d Thomas Gleixner 2022-08-25 116
:::::: The code at line 114 was first introduced by commit
:::::: a738e9bad6030d4fd33bfd7db3399a250b7e94d8 mm/debug: Provide VM_WARN_ON_IRQS_ENABLED()
:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2024-04-04 11:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-04 11:31 kernel test robot [this message]
2024-04-04 17:53 ` Andrew Morton
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=202404041924.UiccBz3l-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=linux-mm@kvack.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=schatzberg.dan@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox