From: Jeremy Kerr Date: Mon, 13 May 2013 01:16:00 +0000 (+0800) Subject: discover: Always associate resources with a boot option X-Git-Tag: v1.0.0~635 X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=1b50985db4e85030de3567792aedc13aa26e0fea;hp=1b50985db4e85030de3567792aedc13aa26e0fea discover: Always associate resources with a boot option We should always be tallocing resources to a boot option context; anything else (for example, the discover context) may have a different lifetime. In order to enforce this, we change the void *ctx argument to the context_create functions to a struct discover_boot_option. Signed-off-by: Jeremy Kerr ---