Re: [PATCH] pstore: return error code (if any) from efi_pstore_write

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

 



On 14 March 2017 at 09:59, Kalugin, Evgeny <evgeny.kalugin@xxxxxxxxx> wrote:
> On Tue, 2017-03-14 at 08:24 +0000, Ard Biesheuvel wrote:
>> On 13 March 2017 at 12:46, Kalugin, Evgeny <evgeny.kalugin@xxxxxxxxx> wrote:
>> > From 655a261d71af9de62e0e23ae0eb6f75037ae5e3e Mon Sep 17 00:00:00 2001
>> > From: Evgeny Kalugin <evgeny.kalugin@xxxxxxxxx>
>> > Date: Tue, 7 Mar 2017 14:22:25 +0000
>> > Subject: [PATCH] pstore: return error code (if any) from efi_pstore_write
>> >
>> > For some reason return value from actual variable setting was ignored.
>> > With this change error code get transferred upwards through call stack.
>> >
>> > Signed-off-by: Evgeny Kalugin <evgeny.kalugin@xxxxxxxxx>
>>
>> Thanks for the patch.
>>
>> Could you give a bit more detail on how this broke things for you?
>
> Well, it haven't broken much things for me yet. I just found it when
> tried to debug one problem in efi-pstore. There I was about to watch
> return value from write call, when noticed that it is always zero and
> that has not so much sense obviously.
>

Queued for v4.12, thanks
--
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