[coreboot-gerrit] New patch to review for coreboot: x86 BIST: Declare function with inline

Kyösti Mälkki (kyosti.malkki@gmail.com) gerrit at coreboot.org
Wed Nov 23 00:00:46 CET 2016


Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17572

-gerrit

commit 717d46755d7316dc4c69247d83bfe15afd432bf4
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date:   Wed Nov 23 00:54:19 2016 +0200

    x86 BIST: Declare function with inline
    
    Compiler would throw error if this file gets included
    without calling the function.
    
    Change-Id: Ieb5f1668a715ceadd5fe5ba0d121c865f1886038
    Signed-off-by: Kyösti Mälkki <kyosti.malkki at gmail.com>
---
 src/include/cpu/x86/bist.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/cpu/x86/bist.h b/src/include/cpu/x86/bist.h
index 24d4025..ed40ded 100644
--- a/src/include/cpu/x86/bist.h
+++ b/src/include/cpu/x86/bist.h
@@ -1,7 +1,7 @@
 #ifndef CPU_X86_BIST_H
 #define CPU_X86_BIST_H
 
-static void report_bist_failure(u32 bist)
+static inline void report_bist_failure(u32 bist)
 {
 	if (bist != 0) {
 		printk(BIOS_EMERG, "BIST failed: %08x", bist);



More information about the coreboot-gerrit mailing list