Whamcloud - gitweb
LU-9934 build: address issues raised by gcc7 76/30376/15
authorJames Simmons <uja.ornl@yahoo.com>
Sun, 14 Jan 2018 04:23:22 +0000 (23:23 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 25 Jan 2018 04:47:39 +0000 (04:47 +0000)
commit61743b88672687f789f9c609c85a351e1595118b
treee529aed434944bccb551d53da8c7263863fbd8f2
parentb9bdd849f076302550221ff195e83e31dd7bddfc
LU-9934 build: address issues raised by gcc7

Starting with gcc version 7 several platforms have enabled new
flags to report potential problems when compling code. For lustre
much of the reported problems deal with potential buffer overruns.
Also we have unused data structures and are not properly
initializing some data structures.

Change-Id: I10243ea88f2c726032d179febdbf26f28de13715
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/30376
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
libcfs/libcfs/util/parser.c
lnet/lnet/router_proc.c
lustre/include/lustre_disk.h
lustre/ofd/ofd_obd.c
lustre/osd-ldiskfs/osd_oi.c
lustre/utils/lfs.c
lustre/utils/lsnapshot.c