diff options
| author | Abhinav Jain <[email protected]> | 2024-08-10 13:53:33 +0000 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2024-09-03 17:42:55 +0000 |
| commit | b4bcdff7e839237d89a2aa15b6042b96b0240ac4 (patch) | |
| tree | 54e546aa9e2779748755148ce7e7633be27df03f /lib/crypto/mpi/mpi-mul.c | |
| parent | selftests:core: test coverage for dup_fd() failure handling in unshare_fd() (diff) | |
| download | kernel-b4bcdff7e839237d89a2aa15b6042b96b0240ac4.tar.gz kernel-b4bcdff7e839237d89a2aa15b6042b96b0240ac4.zip | |
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 <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions
