ACK: [PATCH] uefi: efi_runtime: eliminate confusing error message of get_variable
Naresh Bhat
naresh.bhat at linaro.org
Thu Apr 2 08:17:54 UTC 2015
On 2 April 2015 at 13:37, Colin Ian King <colin.king at canonical.com> wrote:
> On 02/04/15 04:57, Heyi Guo wrote:
>> It is confusing to get lots of "efi_runtime: can't get variable" error messages during test.
>> It will be better for the caller to determine the error message against efi return status.
>> ---
>> efi_runtime/efi_runtime.c | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/efi_runtime/efi_runtime.c b/efi_runtime/efi_runtime.c
>> index 31e5bb3..7c14b23 100644
>> --- a/efi_runtime/efi_runtime.c
>> +++ b/efi_runtime/efi_runtime.c
>> @@ -288,7 +288,6 @@ static long efi_runtime_get_variable(unsigned long arg)
>> return -EFAULT;
>> return 0;
>> } else {
>> - printk(KERN_ERR "efi_runtime: can't get variable\n");
>> return -EINVAL;
>> }
>>
>>
> Very reasonable, I'm all for less noise.
>
> Acked-by: Colin Ian King <colin.king at canonical.com>
The changes looks fine. This patch eliminates the error messages.
Applied and Tested with luvOS distribution v1.2
Tested-by: Naresh Bhat <naresh.bhat at linaro.org>
>
> --
> fwts-devel mailing list
> fwts-devel at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/fwts-devel
More information about the fwts-devel
mailing list