Re: [PATCH 1/2] efi: register efivars with efi or gsmi from module_init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 21, 2013 at 2:58 PM, Matt Fleming <matt.fleming@xxxxxxxxx> wrote:
> Guh, yes. The way I implemented this is rather silly. Thanks for the
> report! I was trying to avoid having a struct kobject * in struct
> efivars, because that inherently ties the efivar_entry API to the sysfs
> code, and the whole point of this series is that you can have EFI
> variable support without the sysfs stuff.
>
> Instead of doing the #ifdef-ery how does this look? It keeps everything
> contained within struct efivars just like the old code. Unfortunately
> it's applied against some changes I've got locally, so the context might
> look a bit weird, but you can still get the idea.

Not tested, but as far as I can tell this looks great. Thanks!

Cheers,

Tom
--
To unsubscribe from this list: send the line "unsubscribe linux-efi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux