[coreboot] changes to romfs for expansion rom loading

Myles Watson mylesgw at gmail.com
Fri Apr 3 23:40:53 CEST 2009


On Fri, Apr 3, 2009 at 3:03 PM, ron minnich <rminnich at gmail.com> wrote:
> attached.

 	if (romfs_decompress(ntohl(orom->compression),
-			     ((unsigned char *) orom) +
-			     sizeof(struct romfs_optionrom),
+			     (void *) src,
 			     (void *) dest,
 			     ntohl(orom->len)))
 		return -1;

It looks like you missed a couple of return statements.  This one
above was supposed to return NULL and the next one dest?

With that fixed:
Acked-by: Myles Watson <mylesgw at gmail.com>

Thanks,
Myles




More information about the coreboot mailing list