Messages in this thread | | | Date | Mon, 18 Jun 2012 13:22:56 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH] efivars: prevent Oops if efi_enabled but no EFI runtime |
| |
On 06/17/2012 04:00 PM, Olof Johansson wrote: > > I think it would make more sense to return -ENODEV when the function > pointers aren't set, that way the exit function won't ever be called > either, so no need to add the checks there. >
-ENIXO? ENODEV is usually some form of "wrong type of device"; ENXIO is "device is not there."
-hpa
| |