[coreboot] [PATCH] reduce the size of devices

Patrick Georgi patrick at georgi-clan.de
Fri May 21 16:03:56 CEST 2010


Am 21.05.2010 01:08, schrieb Myles Watson:
> static void free_resource(device_t dev, struct resource *res, struct
resource *prev)
> ...
> +	res->next = free_resources;
> +	free_resources = res->next;

Shouldn't that be
+	res->next = free_resources;
+	free_resources = res;
to add res to the free_resources?

Other than that, this is great! Smaller, cleaner, faster code, that uses
less memory to achieve the same result - wonderful!


With the above thing cleared up, this is
Acked-by: Patrick Georgi <patrick.georgi at coresystems.de>




More information about the coreboot mailing list