lkml.org 
[lkml]   [2021]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[linux-stable-rc:linux-5.10.y 1320/1370] userfaultfd.c:189:1: error: expected identifier or '(' before '}' token
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git 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):
# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=1077e2b15283dff2f8c7dcc2ad934bccb8c617ad
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
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 <lkp@intel.com>

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
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-07-31 19:37    [W:0.210 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site