Whamcloud - gitweb
LU-11233 utils: fix build warnings for gcc8 62/34662/9
authorAlex Zhuravlev <bzzz@whamcloud.com>
Mon, 15 Apr 2019 13:25:50 +0000 (16:25 +0300)
committerOleg Drokin <green@whamcloud.com>
Sat, 25 May 2019 05:12:33 +0000 (05:12 +0000)
commit5e0ad2afa62e9eb7cf4f48c394c6a84c74a02f2f
treefb80a2372eb243b99a871149b4f24fcbd6c2318d
parentef2a05a61b4201af612356f78197a57b427260b2
LU-11233 utils: fix build warnings for gcc8

Quiet new build warnings that appear with GCC8, mainly related
to the length of string buffers not being long enough (in theory)
for the maximum possible string sizes, even if this never actually
is possible in practice.

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I83a955fc68f3e03fe84622ddf1cedfb30d5916ac
Reviewed-on: https://review.whamcloud.com/34662
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
16 files changed:
lnet/utils/lnetconfig/liblnetconfig.c
lnet/utils/lst.c
lustre/utils/lhsmtool_posix.c
lustre/utils/liblustreapi.c
lustre/utils/liblustreapi_layout.c
lustre/utils/liblustreapi_param.c
lustre/utils/libmount_utils_ldiskfs.c
lustre/utils/lr_reader.c
lustre/utils/lsnapshot.c
lustre/utils/lustre_cfg.c
lustre/utils/lustre_rsync.c
lustre/utils/mkfs_lustre.c
lustre/utils/mount_lustre.c
lustre/utils/mount_utils.c
lustre/utils/nidlist.c
lustre/utils/obd.c