[gPXE-devel] [PATCH 1/2] ibft: Update iBFT handling for v1.03 of the spec.

Konrad Rzeszutek Wilk konrad at darnok.org
Tue May 11 13:58:57 EDT 2010


> > Signed-off-by: Konrad Rzeszutek Wilk <konrad at kernel.org>
> > Reviewed-by: Mike Christie <michaelc at cs.wisc.edu>
>
> This should have Peter's Signed-off-by:, please.
>
Done.
> > ...
> >
> > +#ifdef CONFIG_ACPI
> > +static int __init acpi_find_ibft(struct acpi_table_header *header)
> > +{
> > +	ibft_addr = (struct acpi_table_ibft *)header;
>
> container_of() would be better here.  And maybe elsewhere, too.

Actually there is no need for that. We are just casting it, not getting any 
internal member.


More information about the gPXE-devel mailing list