Fix compilation errors caused by the missing sys/mount.h header
---
tools/testing/selftests/pidfd/pidfd_fdinfo_test.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/pidfd/pidfd_fdinfo_test.c
b/tools/testing/selftests/pidfd/pidfd_fdinfo_test.c
index f062a986e382..f718a
Fix compilation errors caused by missing headers in the pidfd selftest.
The errors include:
pidfd_fdinfo_test.c:230:13: error: implicit declaration of function ‘mount’
pidfd_setns_test.c:172:54: error: implicit declaration of function ‘ioctl’
Siddharth Menon (2):
selftests/pidfd: Fix missing
Fix compilation errors caused by the missing sys/ioctl.h header
---
tools/testing/selftests/pidfd/pidfd_setns_test.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/pidfd/pidfd_setns_test.c
b/tools/testing/selftests/pidfd/pidfd_setns_test.c
index 222f8131283b..4c8a0253
Signed-off-by: Siddharth Menon
---
v1->v2:
- Moved the logic to check for required configurations
to an external script
v2 -> v3:
- Add SKIP_CHECKS flag to skip checking the dependencies
if required
- Updated the test skip statement to be more meaningful
tools/testing/selftests/lib.m
Currently, kselftests does not have a generalised mechanism to skip
compilation and run tests when required kernel configuration options
are disabled.
This patch series adresses this issue by checking whether all required
configs from selftest//config are enabled in the current kernel
Siddharth
.
Suggested-by: Petr Mladek
Suggested-by: Miroslav Benes
Signed-off-by: Siddharth Menon
---
v1->v2:
- check selftest/config directly rather than a separate set in the test
makefile
v2->v3:
- Integrate kselftest_deps.sh to check for missing libraries (I have not
set it to skip the
th the YAML file
and correct
incorrect paths?
Regards,
Siddharth Menon
From: BiscuitBobby
Convert the generic hwspinlock bindings to DT schema.
---
This is my first time converting bindings to dt schema, please let me
know if I have overlooked anything.
.../devicetree/bindings/hwlock/hwlock.txt | 59 -
.../devicetree/bindings/hwlock/hwlock.yam
Signed-off-by: Siddharth Menon
---
v1->v2:
- Moved the logic to check for required configurations
to an external script
v2 -> v3:
- Add SKIP_CHECKS flag to skip checking the dependencies
if required
- Updated the test skip statement to be more meaningful
tools/testing/selftests/lib.m
.
Suggested-by: Petr Mladek
Suggested-by: Miroslav Benes
Signed-off-by: Siddharth Menon
---
v1->v2:
- check selftest/config directly rather than a separate set in the test
makefile
v2->v3:
- Integrate kselftest_deps.sh to check for missing libraries (I have not
set it to skip the
10 matches
Mail list logo