From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot, v2] Fixes the load command return code under btrfs
Date: Mon, 1 Oct 2018 10:51:14 -0400 [thread overview]
Message-ID: <20181001145114.GI17911@bill-the-cat> (raw)
In-Reply-To: <1537974076.2675.131.camel@exfo.com>
On Wed, Sep 26, 2018 at 03:01:17PM +0000, Stephane Gilbert wrote:
> On Tue, 2018-09-25 at 21:51 -0400, Tom Rini wrote:
> >
> > Your patch itself seems to have been garbled, please resubmit as v2,
> > thanks!
>
> Here is the resubmission!
OK, sorry, I need a v3. First, we need a Signed-off-by line. Second,
please use git send-email to post patches as the whitespace was broken
still. Finally, please make sure that your commit message (when you do
for example git show) explains the problem and the fix. In your v1 you
had:
When using the load command with a btrfs filesystem, the return code of
that command if always success even if the command failed. The problem
is the do_load command in fs.c who assume any positive return code from
fs_read as success. However the brtfs read function returns positive
error code in case of failure. Other fs read fonction like fat and ext4
returns negative error codes on failure. So this patch change the
return code of the btrfs read function to be consistent with other read
functions. This way it will be possible to use the return code in the
Hush shell with btrfs file systems as with other filesystems.
And aside from the typo of fonction rather than function, would make a
good message. I'd have fixed this myself but then I noticed the missing
Signed off by line. Thanks again!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181001/f81c9acc/attachment.sig>
prev parent reply other threads:[~2018-10-01 14:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-26 15:01 [U-Boot] [PATCH v2] Fixes the load command return code under btrfs Stephane Gilbert
2018-10-01 14:51 ` Tom Rini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181001145114.GI17911@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox