[Cluster-devel] [PATCH dlm-tool 0/4] dlm_controld: gcc-10 compile warning fixes

Alexander Aring aahringo at redhat.com
Tue Jul 14 18:01:12 UTC 2020


Hi,

this patch series contains fixes to avoid compile warnings for gcc
version 10.

There might be some points for code sharing which I ignored right now
and leave the code as it is.

Also I added a patch to more log functionality in cases that a key value
config entry isn't successful parsed.

- Alex

Alexander Aring (4):
  dlm_controld: fix -Wstringop-truncation warnings
  dlm_controld: fix may be used uninitialized
  dlm_controld: fix may be used uninitialized
  dlm_controld: get notice about failed config parse

 dlm_controld/config.c       | 14 ++++++++++----
 dlm_controld/cpg.c          |  3 ++-
 dlm_controld/daemon_cpg.c   |  4 ++--
 dlm_controld/fence_config.c | 20 +++++++++++++++-----
 dlm_controld/lib.c          | 15 +++++++++++++--
 dlm_controld/main.c         | 13 ++++++++++++-
 6 files changed, 54 insertions(+), 15 deletions(-)

-- 
2.26.2




More information about the Cluster-devel mailing list