lkml.org 
[lkml]   [2013]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] efivarfs: Never return ENOENT from firmware again
On 05/10/2013 11:29 AM, Lingzhu Xiang wrote:
> Previously in 1fa7e69 efi_status_to_err() translated firmware status
> EFI_NOT_FOUND to -EIO instead of -ENOENT for efivarfs operations to
> avoid confusion. After refactoring in e14ab23, it is also used in other
> places where the translation may be unnecessary.
>
> So move the translation to efivarfs specific code. Also return EOF
> for reading zero-length files, which is what users would expect.
>
> Cc: Josh Boyer <jwboyer@redhat.com>
> Cc: Jeremy Kerr <jk@ozlabs.org>
> Cc: Lee, Chun-Yi <jlee@suse.com>
> Cc: Andy Whitcroft <apw@canonical.com>
> Signed-off-by: Lingzhu Xiang <lxiang@redhat.com>
> ---
> This is to be applied against mainline or Matt Fleming's chainsaw branch.

Applied, thanks.

FYI, I rebased my 'urgent' branch on v3.10-rc1, so your patch now
applies there too.



\
 
 \ /
  Last update: 2013-05-13 21:41    [W:0.583 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site