src/lib: 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: I5fa3f8e950e2f0c60bd0e8f030342dc8c0469299 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18758 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
@ -49,7 +49,9 @@ static FILE *fopen(const char *path, const char *mode)
|
||||
current_file = cbmem_add(CBMEM_ID_COVERAGE, 32*1024);
|
||||
} else {
|
||||
previous_file = current_file;
|
||||
current_file = (FILE *)(ALIGN(((unsigned long)previous_file->data + previous_file->len), 16));
|
||||
current_file =
|
||||
(FILE *)(ALIGN(((unsigned long)previous_file->data
|
||||
+ previous_file->len), 16));
|
||||
}
|
||||
|
||||
// TODO check if we're at the end of the CBMEM region (ENOMEM)
|
||||
@ -60,7 +62,9 @@ static FILE *fopen(const char *path, const char *mode)
|
||||
previous_file->next = current_file;
|
||||
current_file->filename = (char *)¤t_file[1];
|
||||
strcpy(current_file->filename, path);
|
||||
current_file->data = (char *)ALIGN(((unsigned long)current_file->filename + strlen(path) + 1), 16);
|
||||
current_file->data =
|
||||
(char *)ALIGN(((unsigned long)current_file->filename
|
||||
+ strlen(path) + 1), 16);
|
||||
current_file->offset = 0;
|
||||
current_file->len = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user