diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-07-08 12:38:11 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-07-09 09:29:00 +0000 |
commit | 95bca33efa280e606f7c6d41541cec67c0eb227f (patch) | |
tree | 3c0d3c2d9a53138a097d92b6a43c975046221e13 | |
parent | c92f5f218f7287ecff4be65b4c6b5b5f24e90cb7 (diff) |
src/mb: Use "foo *bar" instead of "foo* bar"
Change-Id: Iedc2e48349e40e94863c8080d11e11dbe6084c9d
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/27406
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
-rw-r--r-- | src/mainboard/asus/kcma-d8/acpi_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/asus/kcma-d8/romstage.c | 8 | ||||
-rw-r--r-- | src/mainboard/asus/kgpe-d16/acpi_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/asus/kgpe-d16/romstage.c | 8 | ||||
-rw-r--r-- | src/mainboard/emulation/qemu-i440fx/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/supermicro/h8scm_fam10/acpi_tables.c | 2 |
6 files changed, 12 insertions, 12 deletions
diff --git a/src/mainboard/asus/kcma-d8/acpi_tables.c b/src/mainboard/asus/kcma-d8/acpi_tables.c index c5f2c33769..bd4d558afe 100644 --- a/src/mainboard/asus/kcma-d8/acpi_tables.c +++ b/src/mainboard/asus/kcma-d8/acpi_tables.c @@ -66,7 +66,7 @@ unsigned long acpi_fill_madt(unsigned long current) return current; } -unsigned long acpi_fill_ivrs_ioapic(acpi_ivrs_t* ivrs, unsigned long current) +unsigned long acpi_fill_ivrs_ioapic(acpi_ivrs_t *ivrs, unsigned long current) { uint8_t *p; diff --git a/src/mainboard/asus/kcma-d8/romstage.c b/src/mainboard/asus/kcma-d8/romstage.c index 02dd671e8d..341076268b 100644 --- a/src/mainboard/asus/kcma-d8/romstage.c +++ b/src/mainboard/asus/kcma-d8/romstage.c @@ -247,7 +247,7 @@ static void execute_memory_test(void) uint32_t x; uint32_t y; uint32_t z; - uint32_t* dataptr; + uint32_t *dataptr; uint32_t readback; uint32_t start = 0x300000; printk(BIOS_DEBUG, "Writing test pattern 1 to memory...\n"); @@ -317,7 +317,7 @@ static void execute_memory_test(void) static spinlock_t printk_spinlock CAR_GLOBAL; -spinlock_t* romstage_console_lock(void) +spinlock_t *romstage_console_lock(void) { return car_get_var_ptr(&printk_spinlock); } @@ -329,7 +329,7 @@ void initialize_romstage_console_lock(void) static spinlock_t nvram_cbfs_spinlock CAR_GLOBAL; -spinlock_t* romstage_nvram_cbfs_lock(void) +spinlock_t *romstage_nvram_cbfs_lock(void) { return car_get_var_ptr(&nvram_cbfs_spinlock); } @@ -341,7 +341,7 @@ void initialize_romstage_nvram_cbfs_lock(void) static spinlock_t microcode_cbfs_spinlock CAR_GLOBAL; -spinlock_t* romstage_microcode_cbfs_lock(void) +spinlock_t *romstage_microcode_cbfs_lock(void) { return car_get_var_ptr(µcode_cbfs_spinlock); } diff --git a/src/mainboard/asus/kgpe-d16/acpi_tables.c b/src/mainboard/asus/kgpe-d16/acpi_tables.c index c5f2c33769..bd4d558afe 100644 --- a/src/mainboard/asus/kgpe-d16/acpi_tables.c +++ b/src/mainboard/asus/kgpe-d16/acpi_tables.c @@ -66,7 +66,7 @@ unsigned long acpi_fill_madt(unsigned long current) return current; } -unsigned long acpi_fill_ivrs_ioapic(acpi_ivrs_t* ivrs, unsigned long current) +unsigned long acpi_fill_ivrs_ioapic(acpi_ivrs_t *ivrs, unsigned long current) { uint8_t *p; diff --git a/src/mainboard/asus/kgpe-d16/romstage.c b/src/mainboard/asus/kgpe-d16/romstage.c index f882bae077..6188fccb36 100644 --- a/src/mainboard/asus/kgpe-d16/romstage.c +++ b/src/mainboard/asus/kgpe-d16/romstage.c @@ -288,7 +288,7 @@ static void execute_memory_test(void) uint32_t x; uint32_t y; uint32_t z; - uint32_t* dataptr; + uint32_t *dataptr; uint32_t readback; uint32_t start = 0x300000; printk(BIOS_DEBUG, "Writing test pattern 1 to memory...\n"); @@ -358,7 +358,7 @@ static void execute_memory_test(void) static spinlock_t printk_spinlock CAR_GLOBAL; -spinlock_t* romstage_console_lock(void) +spinlock_t *romstage_console_lock(void) { return car_get_var_ptr(&printk_spinlock); } @@ -370,7 +370,7 @@ void initialize_romstage_console_lock(void) static spinlock_t nvram_cbfs_spinlock CAR_GLOBAL; -spinlock_t* romstage_nvram_cbfs_lock(void) +spinlock_t *romstage_nvram_cbfs_lock(void) { return car_get_var_ptr(&nvram_cbfs_spinlock); } @@ -382,7 +382,7 @@ void initialize_romstage_nvram_cbfs_lock(void) static spinlock_t microcode_cbfs_spinlock CAR_GLOBAL; -spinlock_t* romstage_microcode_cbfs_lock(void) +spinlock_t *romstage_microcode_cbfs_lock(void) { return car_get_var_ptr(µcode_cbfs_spinlock); } diff --git a/src/mainboard/emulation/qemu-i440fx/romstage.c b/src/mainboard/emulation/qemu-i440fx/romstage.c index 1676fb0ec2..9030698b9b 100644 --- a/src/mainboard/emulation/qemu-i440fx/romstage.c +++ b/src/mainboard/emulation/qemu-i440fx/romstage.c @@ -28,7 +28,7 @@ #include "memory.c" -void * asmlinkage romstage_main(unsigned long bist) +void *asmlinkage romstage_main(unsigned long bist) { int cbmem_was_initted; diff --git a/src/mainboard/supermicro/h8scm_fam10/acpi_tables.c b/src/mainboard/supermicro/h8scm_fam10/acpi_tables.c index 165fd81e03..7305cf85a9 100644 --- a/src/mainboard/supermicro/h8scm_fam10/acpi_tables.c +++ b/src/mainboard/supermicro/h8scm_fam10/acpi_tables.c @@ -61,7 +61,7 @@ unsigned long acpi_fill_madt(unsigned long current) return current; } -unsigned long acpi_fill_ivrs_ioapic(acpi_ivrs_t* ivrs, unsigned long current) +unsigned long acpi_fill_ivrs_ioapic(acpi_ivrs_t *ivrs, unsigned long current) { uint8_t *p; |