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
diff --git a/.clang-format b/.clang-format
index ea71ad6..692faa2 100644
--- a/.clang-format
+++ b/.clang-format
@@ -21,6 +21,7 @@
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
+ AfterCaseLabel: true
AfterClass: true
AfterControlStatement: true
AfterEnum: true