[LinuxBIOS] [PATCH] Fix various compiler warnings and potential bugs

Ed Swierk eswierk at arastra.com
Thu Feb 1 18:16:25 CET 2007

This patch fixes a bunch of compiler warnings I ran into while
building an MCP55 target using gcc 4.1.1.

A few are real bugs, like the misspelled "default" in raminit_f.c and
the truncated 16-bit argument to delayx() in mcp55_early_setup_car.c.
The uninitialized variables in raminit_f_dqs.c are potential bugs.

gcc 4.1.x is famously paranoid about certain things, and some of its
warnings can only be considered compiler bugs, so I ignored those. The
minor warnings I fixed are mainly improper int/pointer casts and
unused variables.

Signed-off-by: Ed Swierk <eswierk at arastra.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: linuxbios-warnings.patch
Type: text/x-patch
Size: 10009 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070201/c9b80ca0/attachment.patch>

More information about the coreboot mailing list