V2: replace close with close_fd and use is_fd_valid V3: Fix errors reported by checkpatch Xiao Ni (14): 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 | 92 +++++++++++++++++++++++++++++++++++++++++---------- Incremental.c | 20 +++++------ mdmon.c | 17 +++++++--- mdopen.c | 8 +++-- mdstat.c | 12 +++++-- super0.c | 10 ++++-- super1.c | 32 +++++++++++++----- 7 files changed, 142 insertions(+), 49 deletions(-) -- 2.41.0