summaryrefslogtreecommitdiff
path: root/firmware/stub/vboot_api_stub_disk.c
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2016-10-11 15:28:16 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-10-13 17:27:07 -0700
commitfb267154d29356937eb304234793ab2e28ad0bab (patch)
tree609b8d39adab9b4cf8c7dac8859d76541e50e75f /firmware/stub/vboot_api_stub_disk.c
parenta1001da56512fdcd3bd648a5a04da03ffea3e91b (diff)
downloadvboot-fb267154d29356937eb304234793ab2e28ad0bab.tar.gz
Fix indentation in firmware and host libs
vboot_reference originally used 2-space indentation, rather than kernel-style tabs. This makes it painful to maintain given that newer source files are kernel-style. Re-indent the files that need it, and reflow comments. No functionality changes. BUG=none BRANCH=none TEST=make runtests Change-Id: I7dabed41f69434b1988a52600c0cb1eac8c8d7e6 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/396488 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'firmware/stub/vboot_api_stub_disk.c')
-rw-r--r--firmware/stub/vboot_api_stub_disk.c24
1 files changed, 14 insertions, 10 deletions
diff --git a/firmware/stub/vboot_api_stub_disk.c b/firmware/stub/vboot_api_stub_disk.c
index 186cd97d..a7570c3b 100644
--- a/firmware/stub/vboot_api_stub_disk.c
+++ b/firmware/stub/vboot_api_stub_disk.c
@@ -19,26 +19,30 @@
VbError_t VbExDiskGetInfo(VbDiskInfo** infos_ptr, uint32_t* count,
- uint32_t disk_flags) {
- *infos_ptr = NULL;
- *count = 0;
- return VBERROR_SUCCESS;
+ uint32_t disk_flags)
+{
+ *infos_ptr = NULL;
+ *count = 0;
+ return VBERROR_SUCCESS;
}
VbError_t VbExDiskFreeInfo(VbDiskInfo* infos_ptr,
- VbExDiskHandle_t preserve_handle) {
- return VBERROR_SUCCESS;
+ VbExDiskHandle_t preserve_handle)
+{
+ return VBERROR_SUCCESS;
}
VbError_t VbExDiskRead(VbExDiskHandle_t handle, uint64_t lba_start,
- uint64_t lba_count, void* buffer) {
- return VBERROR_SUCCESS;
+ uint64_t lba_count, void* buffer)
+{
+ return VBERROR_SUCCESS;
}
VbError_t VbExDiskWrite(VbExDiskHandle_t handle, uint64_t lba_start,
- uint64_t lba_count, const void* buffer) {
- return VBERROR_SUCCESS;
+ uint64_t lba_count, const void* buffer)
+{
+ return VBERROR_SUCCESS;
}