[PATCH v2 0/8] Fix -Wunused-result warnings by checking return values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/20250712134213.58582-1-yphbchou0911@xxxxxxxxx/

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(-)

-- 
2.48.1





[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux