aboutsummaryrefslogtreecommitdiff
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorShuah Khan <skhan@linuxfoundation.org>2023-02-13 11:20:07 -0700
committerShuah Khan <skhan@linuxfoundation.org>2023-02-13 16:37:18 -0700
commitd8e45bf1aed2e5fddd8985b5bb1aaf774a97aba8 (patch)
treebbdf7098ebd34722b8d49225f7720b95fcfef210 /scripts/clang-tools/gen_compile_commands.py
parenta7151a8eaa292933cc934deb1dda0f5f51114c82 (diff)
selftests/mount_setattr: fix redefine struct mount_attr build error
Fix the following build error due to redefining struct mount_attr by removing duplicate define from mount_setattr_test.c gcc -g -isystem .../tools/testing/selftests/../../../usr/include -Wall -O2 -pthread mount_setattr_test.c -o .../tools/testing/selftests/mount_setattr/mount_setattr_test mount_setattr_test.c:107:8: error: redefinition of ‘struct mount_attr’ 107 | struct mount_attr { | ^~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/mount.h:32, from mount_setattr_test.c:10: .../usr/include/linux/mount.h:129:8: note: originally defined here 129 | struct mount_attr { | ^~~~~~~~~~ make: *** [../lib.mk:145: .../tools/testing/selftests/mount_setattr/mount_setattr_test] Error 1 Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions