[coreboot] Patch set updated for coreboot: 8980d15 fixed cbfs_find_file() type mismatch

Alexandru Gagniuc (mr.nuke.me@gmail.com) gerrit at coreboot.org
Sun Jul 29 05:11:31 CEST 2012


Alexandru Gagniuc (mr.nuke.me at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1371

-gerrit

commit 8980d151f06bd0c3ae2b83d422987e3ac49218ef
Author: David Griffith <dave at 661.org>
Date:   Fri Jul 27 02:26:54 2012 -0700

    fixed cbfs_find_file() type mismatch
    
    Change-Id: I630000d4466d1cadc8519ad2cc9a4e840e2685e8
    Signed-off-by: David Griffith <dave at 661.org>
---
 payloads/libpayload/include/cbfs_core.h |    2 +-
 payloads/libpayload/libcbfs/cbfs_core.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/payloads/libpayload/include/cbfs_core.h b/payloads/libpayload/include/cbfs_core.h
index 70368f8..66df50e 100644
--- a/payloads/libpayload/include/cbfs_core.h
+++ b/payloads/libpayload/include/cbfs_core.h
@@ -172,7 +172,7 @@ struct cbfs_file *cbfs_find(const char *name);
 void *cbfs_get_file(const char *name);
 
 /* returns pointer to file data inside CBFS after if type is correct */
-void *cbfs_find_file(const char *name, int type);
+struct cbfs_stage *cbfs_find_file(const char *name, int type);
 
 /* returns 0 on success, -1 on failure */
 int cbfs_decompress(int algo, void *src, void *dst, int len);
diff --git a/payloads/libpayload/libcbfs/cbfs_core.c b/payloads/libpayload/libcbfs/cbfs_core.c
index 4bf755b..9468fce 100644
--- a/payloads/libpayload/libcbfs/cbfs_core.c
+++ b/payloads/libpayload/libcbfs/cbfs_core.c
@@ -137,7 +137,7 @@ void *cbfs_get_file(const char *name)
 	return (void*)CBFS_SUBHEADER(file);
 }
 
-void *cbfs_find_file(const char *name, int type)
+struct cbfs_stage *cbfs_find_file(const char *name, int type)
 {
 	struct cbfs_file *file = cbfs_find(name);
 




More information about the coreboot mailing list