LKML Archive on
help / color / mirror / Atom feed
From: kernel test robot <>
To: Peter Collingbourne <>
	Greg Kroah-Hartman <>,
	Lokesh Gidra <>,
	Catalin Marinas <>,
	Andrew Morton <>,
	Linux Memory Management List <>
Subject: [linux-stable-rc:linux-5.10.y 1320/1370] userfaultfd.c:189:1: error: expected identifier or '(' before '}' token
Date: Sun, 1 Aug 2021 01:35:44 +0800	[thread overview]
Message-ID: <> (raw)

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

tree: linux-5.10.y
head:   11fe69a17195cf58eff523f26f90de50660d0100
commit: 1077e2b15283dff2f8c7dcc2ad934bccb8c617ad [1320/1370] selftest: use mmap instead of posix_memalign to allocate memory
config: x86_64-rhel-8.3-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        git remote add linux-stable-rc
        git fetch --no-tags linux-stable-rc linux-5.10.y
        git checkout 1077e2b15283dff2f8c7dcc2ad934bccb8c617ad
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash -C tools/testing/selftests/vm install

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

All errors (new ones prefixed by >>):

   userfaultfd.c: In function 'anon_allocate_area':
   userfaultfd.c:185:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     185 |  if (*alloc_area == MAP_FAILED)
         |  ^~
   userfaultfd.c:187:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
     187 |   *alloc_area = NULL;
         |   ^
   userfaultfd.c: At top level:
>> userfaultfd.c:189:1: error: expected identifier or '(' before '}' token
     189 | }
         | ^

0-DAY CI Kernel Test Service, Intel Corporation

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

                 reply	other threads:[~2021-07-31 17:36 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \
    --subject='Re: [linux-stable-rc:linux-5.10.y 1320/1370] userfaultfd.c:189:1: error: expected identifier or '\''('\'' before '\''}'\'' token' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).