diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-16 15:18:22 -0700 |
---|---|---|
committer | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-17 03:18:24 +0100 |
commit | 6f80ccc357702f87baf43440d97a49bcce999393 (patch) | |
tree | 645c4e00d5e0314b1f3e54c74016d6ee82e575c7 /src/arch/x86/acpi_s3.c | |
parent | e5f29e8bf8c928a83764fcf428c1a05767bff7dd (diff) |
arch/x86: Wrap lines at 80 columns
Fix the following warning detected by checkpatch.pl:
WARNING: line over 80 characters
TEST=Build and run on Galileo Gen2
Change-Id: I3495cd30d1737d9ee728c8a9e72bd426d7a69c37
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18864
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/arch/x86/acpi_s3.c')
-rw-r--r-- | src/arch/x86/acpi_s3.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/arch/x86/acpi_s3.c b/src/arch/x86/acpi_s3.c index ea04029b7b..8549f63d65 100644 --- a/src/arch/x86/acpi_s3.c +++ b/src/arch/x86/acpi_s3.c @@ -105,7 +105,8 @@ static int backup_create_or_update(struct resume_backup *backup_mem, /* Allocate backup with room for header. */ if (!backup_mem) { - size_t header_sz = ALIGN_UP(sizeof(*backup_mem), BACKUP_PAGE_SZ); + size_t header_sz = ALIGN_UP(sizeof(*backup_mem), + BACKUP_PAGE_SZ); backup_mem = cbmem_add(CBMEM_ID_RESUME, header_sz + size); if (!backup_mem) return -1; @@ -126,7 +127,8 @@ void *acpi_backup_container(uintptr_t base, size_t size) if (!backup_mem) return NULL; - if (!IS_ALIGNED(base, BACKUP_PAGE_SZ) || !IS_ALIGNED(size, BACKUP_PAGE_SZ)) + if (!IS_ALIGNED(base, BACKUP_PAGE_SZ) || !IS_ALIGNED(size, + BACKUP_PAGE_SZ)) return NULL; if (backup_create_or_update(backup_mem, base, size) < 0) @@ -158,7 +160,8 @@ void backup_ramstage_section(uintptr_t base, size_t size) /* Back up the OS-controlled memory where ramstage will be loaded. */ memcpy((void *)(uintptr_t)backup_mem->cbmem, - (void *)(uintptr_t)backup_mem->lowmem, (size_t)backup_mem->size); + (void *)(uintptr_t)backup_mem->lowmem, + (size_t)backup_mem->size); backup_mem->valid = 1; } @@ -175,7 +178,8 @@ void acpi_prepare_for_resume(void) /* Back up the OS-controlled memory where ramstage will be loaded. */ memcpy((void *)(uintptr_t)backup_mem->cbmem, - (void *)(uintptr_t)backup_mem->lowmem, (size_t)backup_mem->size); + (void *)(uintptr_t)backup_mem->lowmem, + (size_t)backup_mem->size); backup_mem->valid = 1; } |