Whamcloud - gitweb
LU-11233 utils: fix build warnings for gcc8 04/35004/2
authorAlex Zhuravlev <bzzz@whamcloud.com>
Mon, 15 Apr 2019 13:25:50 +0000 (16:25 +0300)
committerOleg Drokin <green@whamcloud.com>
Sat, 8 Jun 2019 02:37:41 +0000 (02:37 +0000)
commit67533bcad5e937126c6e1da8fc13003816431858
treeb5134b6aff10372fa95b0f4b8fc507cb8de62435
parent0b86b935a16171120036260f4a0850e2e1245f46
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.

Lustre-change: https://review.whamcloud.com/34662
Lustre-commit: 5e0ad2afa62e9eb7cf4f48c394c6a84c74a02f2f

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I83a955fc68f3e03fe84622ddf1cedfb30d5916ac
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/35004
Tested-by: Jenkins
Tested-by: Maloo <maloo@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