clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda formatting also changed, so we have made changes to the
organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style.
See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: I362352dcb341658501899267c2ff3ad044ed5912
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/subprojects/libcr51sign/src/libcr51sign_mauv.c b/subprojects/libcr51sign/src/libcr51sign_mauv.c
index 996260b..653a37e 100644
--- a/subprojects/libcr51sign/src/libcr51sign_mauv.c
+++ b/subprojects/libcr51sign/src/libcr51sign_mauv.c
@@ -139,8 +139,8 @@
case BLOB_TYPE_MAGIC_MAUV:
if (!found_image_mauv_data)
{
- *payload_image_mauv_data_offset = current_offset +
- sizeof(struct blob_data);
+ *payload_image_mauv_data_offset =
+ current_offset + sizeof(struct blob_data);
*payload_image_mauv_data_size =
payload_blob_data.blob_payload_size;
found_image_mauv_data = true;
@@ -447,11 +447,10 @@
// image descriptor
//
// @return `failure_reason`
-failure_reason
- validate_payload_image_mauv(const struct libcr51sign_ctx* const ctx,
- const struct libcr51sign_intf* const intf,
- const uint32_t payload_blob_offset,
- const uint32_t payload_blob_size)
+failure_reason validate_payload_image_mauv(
+ const struct libcr51sign_ctx* const ctx,
+ const struct libcr51sign_intf* const intf,
+ const uint32_t payload_blob_offset, const uint32_t payload_blob_size)
{
uint32_t payload_image_mauv_data_size = 0;
struct full_mauv payload_image_mauv_data_buffer = {0};