obmc-console: Add clang-format configuration
And apply the formatting.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I75251051affa5129c8698185baf8d151302b19d6
diff --git a/test/test-ringbuffer-poll-force.c b/test/test-ringbuffer-poll-force.c
index 0993de5..e1e4245 100644
--- a/test/test-ringbuffer-poll-force.c
+++ b/test/test-ringbuffer-poll-force.c
@@ -8,7 +8,9 @@
void test_poll_force(void)
{
- uint8_t in_buf[] = { 'a', 'b', 'c', 'd', 'e', 'f', };
+ uint8_t in_buf[] = {
+ 'a', 'b', 'c', 'd', 'e', 'f',
+ };
struct rb_test_ctx _ctx, *ctx = &_ctx;
struct ringbuffer *rb;
int rc;
@@ -17,8 +19,8 @@
rb = ringbuffer_init(5);
- ctx->rbc = ringbuffer_consumer_register(rb,
- ringbuffer_poll_append_all, ctx);
+ ctx->rbc = ringbuffer_consumer_register(rb, ringbuffer_poll_append_all,
+ ctx);
ctx->force_only = true;