frup: suppress stringop-truncation warning

The code involved here doesn't entirely make sense because it is
performing a sequence of hex to ascii conversions, but then
overwriting the beginning with a "0x", which seems to lose the
first 2 bytes.

Until someone has a chance to unravel this code and turn it into
a more modern implementation, suppress the GCC warning about string
truncation (since the string truncation is done by design).

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I0e5001396a037cacbe7f8c534eddb8381385ebed
1 file changed
tree: 5253c2bb449cc99d83ff6a3c17597f62567fe74b
  1. scripts/
  2. .clang-format
  3. .gitignore
  4. bootstrap.sh
  5. configure.ac
  6. fru_area.cpp
  7. fru_area.hpp
  8. frup.cpp
  9. frup.hpp
  10. LICENSE
  11. Makefile.am
  12. OWNERS
  13. readeeprom.cpp
  14. README.md
  15. strgfnhandler.cpp
  16. types.hpp
  17. writefrudata.cpp
  18. writefrudata.hpp
README.md

ipmi-fru-parser

To Build

To build this package, do the following steps:

  1. ./bootstrap.sh
  2. ./configure ${CONFIGURE_FLAGS}
  3. make

To full clean the repository again run ./bootstrap.sh clean.