commit | efa9efea0d360c91ac7d06125db711be26502b3a | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Wed Mar 31 13:23:22 2021 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Mar 31 13:23:22 2021 -0600 |
tree | 5326235dbac97081bf73ff804f9fef7409c19757 | |
parent | 2118351e6906c3f47723d2d31102bc2f1cd81b90 [diff] |
test/ring-leak: get rid of warning on unchecked read ring-leak.c: In function ‘test_iowq_request_cancel’: ring-leak.c:131:2: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 131 | read(fds[0], buffer, 10); | ^~~~~~~~~~~~~~~~~~~~~~~~ We really don't care, but the warning is annoying. So get rid of it. Signed-off-by: Jens Axboe <axboe@kernel.dk>