mbox series

[00/15] mdadm: fix coverity issues

Message ID 20240715073604.30307-1-xni@redhat.com (mailing list archive)
Headers show
Series mdadm: fix coverity issues | expand

Message

Xiao Ni July 15, 2024, 7:35 a.m. UTC
Hi all

This patch set fixes coverity issues.

Xiao Ni (15):
  mdadm/Manage: 01r1fail cases fails
  mdadm/Grow: fix coverity issue CHECKED_RETURN
  mdadm/Grow: fix coverity issue RESOURCE_LEAK
  mdadm/Grow: fix coverity issue STRING_OVERFLOW
  mdadm/Incremental: fix coverity issues.
  mdadm/mdmon: fix coverity issue CHECKED_RETURN
  mdadm/mdmon: fix coverity issue RESOURCE_LEAK
  mdadm/mdopen: fix coverity issue CHECKED_RETURN
  mdadm/mdopen: fix coverity issue STRING_OVERFLOW
  mdadm/mdstat: fix coverity issue CHECKED_RETURN
  mdadm/super0: fix coverity issue CHECKED_RETURN and EVALUATION_ORDER
  mdadm/super1: fix coverity issue CHECKED_RETURN
  mdadm/super1: fix coverity issue DEADCODE
  mdadm/super1: fix coverity issue EVALUATION_ORDER
  mdadm/super1: fix coverity issue RESOURCE_LEAK

 Grow.c        | 98 ++++++++++++++++++++++++++++++++++++++++-----------
 Incremental.c | 20 +++++------
 Manage.c      |  2 +-
 mdmon.c       | 11 ++++--
 mdopen.c      |  8 +++--
 mdstat.c      | 12 +++++--
 super0.c      | 10 ++++--
 super1.c      | 32 ++++++++++++-----
 8 files changed, 144 insertions(+), 49 deletions(-)