[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4FDF8E20.5050606@zytor.com>
Date: Mon, 18 Jun 2012 13:22:56 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Olof Johansson <olof@...om.net>
CC: Marko Kohtala <marko.kohtala@...il.com>,
Matthew Garrett <mjg@...hat.com>, linux-kernel@...r.kernel.org
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists