Re: [PATCH] efivarfs: Never return ENOENT from firmware again
From: joeyli
Date: Tue May 14 2013 - 00:39:50 EST
Hi Matt,
æ äï2013-05-13 æ 20:21 +0100ïMatt Fleming æåï
> 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@xxxxxxxxxx>
> > Cc: Jeremy Kerr <jk@xxxxxxxxxx>
> > Cc: Lee, Chun-Yi <jlee@xxxxxxxx>
> > Cc: Andy Whitcroft <apw@xxxxxxxxxxxxx>
> > Signed-off-by: Lingzhu Xiang <lxiang@xxxxxxxxxx>
> > ---
> > 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.
>
>
I found the "[PATCH] x86, efi: initial the local variable of DataSize to
zero" lost in urgent branch, and it also didn't in Linus's v3.10-rc1.
Did this patch move to other branch?
Thanks a lot!
Joey Lee
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/