Fix -Wunused-result warnings by checking return values
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 11 repliesIn review
- v18 patches 6 repliesSuperseded
Changes in v2 from the cover letter
- Add commit messages to all patches
- Ensure all patches pass checkpatch cleanly
- Link to v1: https://lore.kernel.org/all/[email protected]/
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | rt-utils.c: Check return values of write()src/ | +7 | 1 reply | |
| 2/8 | pmqtest.c: Check return values of write() and ftruncate()src/ | +5 | 1 reply | |
| 3/8 | ptsematest.c: Check return values of write() and ftruncate()src/ | +5 | 1 reply | |
| 4/8 | rt-migrate-test.c: Check return values of write() and ftruncate()src/ | +4 | 1 reply | |
| 5/8 | cyclicdeadline.c: Check return values of write() and ftruncate()src/ | +27 | 1 reply | |
| 6/8 | deadline_test.c: Check return values of write() and ftruncate()src/ | +32 | 1 reply | |
| 7/8 | sigwaittest.c: Check return values of write() and ftruncate()src/ | +11 | 1 reply | |
| 8/8 | svsematest.c: Check return values of write() and ftruncate()src/ | +11 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/8] Fix -Wunused-result warnings by checking return values
This v2 series adds proper commit messages and addresses coding style warnings previously reported by checkpatch.pl.
All patches have been verified with checkpatch.pl and show no errors or warnings.
Changes in v2:
- Add commit messages to all patches
- Ensure all patches pass checkpatch cleanly
- Link to v1: https://lore.kernel.org/all/[email protected]/
Thanks,
-chengyang
---
Cheng-Yang Chou (8):
rt-utils.c: Check return values of write()
pmqtest.c: Check return values of write() and ftruncate() ptsematest.c: Check return values of write() and ftruncate() rt-migrate-test.c: Check return values of write() and ftruncate() cyclicdeadline.c: Check return values of write() and ftruncate() deadline_test.c: Check return values of write() and ftruncate() sigwaittest.c: Check return values of write() and ftruncate() svsematest.c: Check return values of write() and ftruncate()
src/lib/rt-utils.c | 9 +++++-- src/pmqtest/pmqtest.c | 6 ++++- src/ptsematest/ptsematest.c | 6 ++++- src/rt-migrate-test/rt-migrate-test.c | 5 +++- src/sched_deadline/cyclicdeadline.c | 32 +++++++++++++++++++---- src/sched_deadline/deadline_test.c | 37 +++++++++++++++++++++++---- src/sigwaittest/sigwaittest.c | 13 ++++++++-- src/svsematest/svsematest.c | 13 ++++++++-- 8 files changed, 102 insertions(+), 19 deletions(-)
Signature · 1 line
2.48.1