From: Michal Simek <michal.simek@xilinx.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] net: Return -EINTR when ctrl+c is pressed
Date: Mon, 24 Aug 2015 09:11:00 +0200 [thread overview]
Message-ID: <55DAC384.6060006@xilinx.com> (raw)
In-Reply-To: <CANr=Z=awkwPhod93Jz+JmQKHbSCC87EvpxOf+J7N=X2c2S+H0Q@mail.gmail.com>
Hi Joe,
On 08/21/2015 11:21 PM, Joe Hershberger wrote:
> Hi Michal,
>
> On Fri, Aug 21, 2015 at 1:49 AM, Michal Simek <michal.simek@xilinx.com> wrote:
>> Current behavior is that if CTRL+C is pressed command returns 0 that was
>> successful which is not correct behavior.
>> The easiest test case is "tftpboot 80000 uImage && echo yes"
>> and press CTRL+C. Then the second command is called which is incorrect.
>>
>> Error log:
>> zynq-uboot> tftpb 80000 uImage && echo yes
>> Gem.e000b000:7 is connected to Gem.e000b000. Reconnecting to
>> Gem.e000b000
>> Gem.e000b000 Waiting for PHY auto negotiation to complete....... done
>> Using Gem.e000b000 device
>> TFTP from server 192.168.0.102; our IP address is 192.168.0.101
>> Filename 'uImage'.
>> Load address: 0x80000
>> Loading: ################
>> Abort
>> yes
>> zynq-uboot>
>>
>> This patch adds -EINTR return value when CTRL+C is pressed.
>>
>> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
>> Reviewed-by: Tom Rini <trini@konsulko.com>
>
> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
>
are you going to take it via net tree or do you want Tom to take it
directly?
Thanks,
Michal
next prev parent reply other threads:[~2015-08-24 7:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-21 6:49 [U-Boot] [PATCH v2] net: Return -EINTR when ctrl+c is pressed Michal Simek
2015-08-21 21:21 ` Joe Hershberger
2015-08-24 7:11 ` Michal Simek [this message]
2015-08-24 14:51 ` Joe Hershberger
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=55DAC384.6060006@xilinx.com \
--to=michal.simek@xilinx.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