[dm-devel] [PATCH 0/8] Various cleanups

Damien Le Moal damien.lemoal at wdc.com
Wed Jul 15 09:52:09 UTC 2020


Mike,

These patches fix various compilation warnings showing up when compiling
with W=1. The last patch addresses a static checker warning (C=1
compilation). There are a lot more of these code checker warnings
remaining that probably could be addressed, some seem to be false
positive though.

Damien Le Moal (8):
  dm raid5: Remove set but unused variable
  dm raid5: Fix compilation warning
  md: Fix compilation warning
  dm raid10: Fix compilation warning
  dm verity: Fix compilation warning
  dm raid: Remove empty if statement
  dm ioctl: Fix compilation warning
  dm init: Set file local variable static

 drivers/md/dm-init.c              |  2 +-
 drivers/md/dm-ioctl.c             |  2 +-
 drivers/md/dm-raid.c              |  2 --
 drivers/md/dm-verity-verify-sig.h | 14 +++++++-------
 drivers/md/md.c                   | 12 ++++++------
 drivers/md/raid10.c               |  4 ++--
 drivers/md/raid5-cache.c          |  4 +---
 drivers/md/raid5.c                | 12 ++++++------
 8 files changed, 24 insertions(+), 28 deletions(-)

-- 
2.26.2




More information about the dm-devel mailing list