* [linux-stable-rc:linux-4.19.y 562/625] userfaultfd.c:138:1: error: expected identifier or '(' before '}' token
@ 2021-08-03 12:14 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-03 12:14 UTC (permalink / raw)
To: Peter Collingbourne
Cc: kbuild-all, linux-kernel, Greg Kroah-Hartman, Lokesh Gidra,
Catalin Marinas, Andrew Morton, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 1855 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
head: 7d0b2cf6631fd9776096a6a1bc52a89946f15d4c
commit: f96dfc7ce42c44533fb630e1ca6dad7cf48f803a [562/625] 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=f96dfc7ce42c44533fb630e1ca6dad7cf48f803a
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-4.19.y
git checkout f96dfc7ce42c44533fb630e1ca6dad7cf48f803a
# 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 install
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Note: the linux-stable-rc/linux-4.19.y HEAD 7d0b2cf6631fd9776096a6a1bc52a89946f15d4c builds fine.
It only hurts bisectibility.
All error/warnings (new ones prefixed by >>):
userfaultfd.c: In function 'anon_allocate_area':
>> userfaultfd.c:134:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
134 | if (*alloc_area == MAP_FAILED)
| ^~
userfaultfd.c:136:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
136 | *alloc_area = NULL;
| ^
userfaultfd.c: At top level:
>> userfaultfd.c:138:1: error: expected identifier or '(' before '}' token
138 | }
| ^
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35306 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [linux-stable-rc:linux-4.19.y 562/625] userfaultfd.c:138:1: error: expected identifier or '(' before '}' token
@ 2021-08-03 12:14 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-03 12:14 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1894 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
head: 7d0b2cf6631fd9776096a6a1bc52a89946f15d4c
commit: f96dfc7ce42c44533fb630e1ca6dad7cf48f803a [562/625] 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=f96dfc7ce42c44533fb630e1ca6dad7cf48f803a
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-4.19.y
git checkout f96dfc7ce42c44533fb630e1ca6dad7cf48f803a
# 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 install
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Note: the linux-stable-rc/linux-4.19.y HEAD 7d0b2cf6631fd9776096a6a1bc52a89946f15d4c builds fine.
It only hurts bisectibility.
All error/warnings (new ones prefixed by >>):
userfaultfd.c: In function 'anon_allocate_area':
>> userfaultfd.c:134:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
134 | if (*alloc_area == MAP_FAILED)
| ^~
userfaultfd.c:136:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
136 | *alloc_area = NULL;
| ^
userfaultfd.c: At top level:
>> userfaultfd.c:138:1: error: expected identifier or '(' before '}' token
138 | }
| ^
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35306 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-03 12:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-03 12:14 [linux-stable-rc:linux-4.19.y 562/625] userfaultfd.c:138:1: error: expected identifier or '(' before '}' token kernel test robot
2021-08-03 12:14 ` 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.