utils: mctp-astlpc-daemon: Format with clang-format
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: Ib7d1238d0a2fe3b36ac9289945ef22d1a6b7c023
diff --git a/.clang-ignore b/.clang-ignore
index 6d05729..cce45c5 100644
--- a/.clang-ignore
+++ b/.clang-ignore
@@ -10,5 +10,4 @@
tests/test_eid.c
tests/test_seq.c
tests/test_serial.c
-utils/mctp-astlpc-daemon.c
utils/mctp-demux-daemon.c
diff --git a/utils/mctp-astlpc-daemon.c b/utils/mctp-astlpc-daemon.c
index f984eaf..4a68857 100644
--- a/utils/mctp-astlpc-daemon.c
+++ b/utils/mctp-astlpc-daemon.c
@@ -18,7 +18,7 @@
static const uint8_t echo_resp = 2;
struct ctx {
- struct mctp *mctp;
+ struct mctp *mctp;
};
static void tx_message(struct ctx *ctx, mctp_eid_t eid, void *msg, size_t len)
@@ -41,7 +41,7 @@
type = len > 0 ? *(uint8_t *)(msg) : 0x00;
fprintf(stderr, "RX: src EID 0x%02x: %zd bytes, first byte [0x%02x]\n",
- eid, len, type);
+ eid, len, type);
if (type == echo_req) {
*(uint8_t *)(msg) = echo_resp;
@@ -105,9 +105,7 @@
break;
#endif
-
}
return EXIT_SUCCESS;
-
}