summaryrefslogtreecommitdiff
path: root/src/commonlib
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-07-08 12:30:02 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-07-09 09:26:18 +0000
commit6c9737b1ac5b71f705350a960dee0e68b9afb440 (patch)
treee5c11d8b1586d034b04e2517752c21aaacc3995b /src/commonlib
parent2106638ec2d7869f396310882bf5e9fa52dbf3c0 (diff)
src/{arch,commonlib,cpu}: Use "foo *bar" instead of "foo* bar"
Change-Id: I8e4118c5c5d70719ad7dc5f9ff9f86d93fa498ac Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26942 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/commonlib')
-rw-r--r--src/commonlib/storage/mmc.c2
-rw-r--r--src/commonlib/storage/storage.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/commonlib/storage/mmc.c b/src/commonlib/storage/mmc.c
index d88e469291..e09d826782 100644
--- a/src/commonlib/storage/mmc.c
+++ b/src/commonlib/storage/mmc.c
@@ -529,7 +529,7 @@ int mmc_set_partition(struct storage_media *media,
const char *mmc_partition_name(struct storage_media *media,
unsigned int partition_number)
{
- static const char * const partition_name[8] = {
+ static const char *const partition_name[8] = {
"User", /* 0 */
"Boot 1", /* 1 */
"Boot 2", /* 2 */
diff --git a/src/commonlib/storage/storage.c b/src/commonlib/storage/storage.c
index d2b566f71e..927e12ff30 100644
--- a/src/commonlib/storage/storage.c
+++ b/src/commonlib/storage/storage.c
@@ -31,7 +31,7 @@
#define HEX_CAPACITY_MULTIPLIER 1024ULL
struct capacity {
- const char * const units;
+ const char *const units;
uint64_t bytes;
};