[PATCH 0/6] Fix a few gcc compiling issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Honggang Li <honli@xxxxxxxxxx>

configure opensm with
./configure CFLAGS='-Wall -Werror -g' CC=gcc

gcc will make all compiling warnings into errors. This patchset fix
issues detected with gcc8.

Honggang Li (6):
  Replace deprecated macro 'BSD_SOURCE' with 'DEFAULT_SOURCE'
  Cast poniter type
  osm_console_io.c: To avoid potential no NUL-terminated strncpy
  Fix maybe uninitialized issue
  Extend buf size to avoid format truncation
  osm_prtn.c: To avoid potential no NUL-terminated strncpy

 complib/Makefile.am             | 2 +-
 libvendor/osm_vendor_ibumad.c   | 2 +-
 opensm/Makefile.am              | 2 +-
 opensm/osm_console_io.c         | 5 ++++-
 opensm/osm_prtn.c               | 8 ++++++--
 opensm/osm_sa_mcmember_record.c | 2 ++
 opensm/osm_sm_mad_ctrl.c        | 2 +-
 osmeventplugin/Makefile.am      | 2 +-
 8 files changed, 17 insertions(+), 8 deletions(-)

-- 
2.15.0-rc1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux