From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752040AbbJCJFs (ORCPT ); Sat, 3 Oct 2015 05:05:48 -0400 Received: from mail.skyhub.de ([78.46.96.112]:57450 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751728AbbJCJFq (ORCPT ); Sat, 3 Oct 2015 05:05:46 -0400 Date: Sat, 3 Oct 2015 11:05:39 +0200 From: Borislav Petkov To: "Kweh, Hock Leong" Cc: Matt Fleming , Greg Kroah-Hartman , "Ong, Boon Leong" , LKML , "linux-efi@vger.kernel.org" , Sam Protsenko , Peter Jones , Andy Lutomirski , Roy Franz , James Bottomley , Linux FS Devel , "Fleming, Matt" Subject: Re: [PATCH v6 0/2] Enable capsule loader interface for efi firmware updating Message-ID: <20151003090539.GC11942@pd.tnic> References: <1443733554-22743-1-git-send-email-hock.leong.kweh@intel.com> <20151002173704.GD16538@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 03, 2015 at 03:18:41AM +0000, Kweh, Hock Leong wrote: > > What does the error case look like? A standard glibc message about > > write(2) failing? > > > > Any upload fail error like -ENOMEM, -EINVAL, -EIO as well as error returned > by efi_capsule_update() API. All I'm asking is, how does the user know that the upload didn't succeed? -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.