summaryrefslogtreecommitdiffstats
path: root/vpnor/test/create_write_window_ro_partition.cpp
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2018-10-11 13:55:04 -0700
committerWilliam A. Kennington III <wak@google.com>2018-10-12 01:03:47 -0700
commitd5f1d40f2ddf9234099b331e1d90c54ece0ee88b (patch)
tree41b69f239b5121ee39f7f2ca51453cfa6d62a44e /vpnor/test/create_write_window_ro_partition.cpp
parentb7c49b22ccb82add7874b30cd96931b0f19b20e0 (diff)
downloadphosphor-mboxbridge-d5f1d40f2ddf9234099b331e1d90c54ece0ee88b.tar.gz
phosphor-mboxbridge-d5f1d40f2ddf9234099b331e1d90c54ece0ee88b.zip
clang-format: Pull the format rules from the openbmc/docs repo
This makes it consistent with other openbmc projects for c++ formatting. Tested: Run through the unit test suite. Change-Id: I92030ce5b42de01360393687fb438faf26f36ac8 Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'vpnor/test/create_write_window_ro_partition.cpp')
-rw-r--r--vpnor/test/create_write_window_ro_partition.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/vpnor/test/create_write_window_ro_partition.cpp b/vpnor/test/create_write_window_ro_partition.cpp
index 09dbba0..fa53003 100644
--- a/vpnor/test/create_write_window_ro_partition.cpp
+++ b/vpnor/test/create_write_window_ro_partition.cpp
@@ -1,9 +1,10 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2018 IBM Corp.
+#include "config.h"
+
#include <assert.h>
-#include "config.h"
#include "vpnor/mboxd_pnor_partition_table.h"
extern "C" {
@@ -39,7 +40,7 @@ namespace test = openpower::virtual_pnor::test;
int main()
{
- struct mbox_context *ctx;
+ struct mbox_context* ctx;
system_set_reserved_size(MEM_SIZE);
system_set_mtd_sizes(MEM_SIZE, ERASE_SIZE);
OpenPOWER on IntegriCloud