Home
last modified time | relevance | path

Searched hist:"18 f4b6e8" (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-logging/
H A D.clang-format18f4b6e8 Thu May 21 11:36:24 CDT 2020 Matt Spinler <spinler@us.ibm.com> PEL: GCC10/clang-format-10 fixes

GCC10 didn't appreciate how strncpy was used in FRUIdentity where the
code depended on how it placed the null terminator. To fix, make a
function to do the copy.

In addition, clang-format-10 was merged into CI at the same time as
GCC10, so include the changes it needs as well.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I04c70e37284a149b6c8655a6d7e6fedddaa0913a
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dfru_identity.cpp18f4b6e8 Thu May 21 11:36:24 CDT 2020 Matt Spinler <spinler@us.ibm.com> PEL: GCC10/clang-format-10 fixes

GCC10 didn't appreciate how strncpy was used in FRUIdentity where the
code depended on how it placed the null terminator. To fix, make a
function to do the copy.

In addition, clang-format-10 was merged into CI at the same time as
GCC10, so include the changes it needs as well.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I04c70e37284a149b6c8655a6d7e6fedddaa0913a