[LinuxBIOS] [PATCH] LBv3: fix printk format warnings

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Fri Aug 10 01:09:52 CEST 2007


This patch removes all printk format warnings from my LBv3 build (Qemu
x86 config). This was tested with gcc 4.1.0 on x86.
However, the code at various locations is not 64bit clean at all and
will probably break down once we have more than 4GB of RAM. My patch
doesn't change that, it is merely intended to fix the warnings for
improper printk usage.

Beware: Before the patch is committed, a diff of the output of a LB boot
(before and after the patch) needs to be verified. Each change of output
should look reasonable, if not, please holler so I can fix the code.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: linuxbios3_fix_printk_warnings.diff
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070810/11e4a784/attachment.ksh>


More information about the coreboot mailing list