On Mon, 26 Mar 2007 22:48:00 +0100 Matthew Garrett <mjg59@xxxxxxxxxxxxx> wrote: > Ok. How about this? Couple of cleanups, and leaves the possibility for > drivers to pass in their own gtf structure. Looks better, I can work with that for pata_acpi nicely > + acpidata = kzalloc(sizeof(struct ata_acpi_port_link), GFP_KERNEL); > + acpidata->is_pata = pata; Out of memory -> NULL - > OOps *bang* Looks ok but for the memory handling now - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html