mirror_ubuntu-kernels/tools/testing/selftests/filesystems
Abhinav Jain b4bcdff7e8 selftests: filesystems: fix warn_unused_result build warnings
Add return value checks for read & write calls in test_listmount_ns
function. This patch resolves below compilation warnings:

```
statmount_test_ns.c: In function ‘test_listmount_ns’:

statmount_test_ns.c:322:17: warning: ignoring return value of ‘write’
declared with attribute ‘warn_unused_result’ [-Wunused-result]

statmount_test_ns.c:323:17: warning: ignoring return value of ‘read’
declared with attribute ‘warn_unused_result’ [-Wunused-result]
```

Signed-off-by: Abhinav Jain <jain.abhinav177@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2024-09-03 11:42:55 -06:00
..
binderfs selftests/binderfs: use the Makefile's rules, not Make's implicit rules 2024-05-06 13:57:21 -06:00
epoll selftests: filesystems: Fix incorrect kernel headers search path 2023-02-13 09:09:44 -07:00
eventfd selftests: introduce additional eventfd test coverage 2024-06-24 22:25:04 -07:00
fat selftests/filesystems: Add six consecutive 'x' characters to mktemp 2023-08-16 10:10:39 -06:00
overlayfs selftests/overlayfs: Fix build error on ppc64 2024-05-29 12:26:40 -06:00
statmount selftests: filesystems: fix warn_unused_result build warnings 2024-09-03 11:42:55 -06:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
devpts_pts.c selftests: filesystems: return Kselftest Skip code for skipped tests 2018-05-30 15:21:52 -06:00
dnotify_test.c
Makefile selftests: filesystems: Fix incorrect kernel headers search path 2023-02-13 09:09:44 -07:00