public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5] cmd: usb: add blk, emulation devices to ignore list as needed
Date: Wed, 18 Oct 2017 12:12:20 +0200	[thread overview]
Message-ID: <0e4239e1-e008-0239-b158-24d2ed8d1cd7@denx.de> (raw)
In-Reply-To: <CAHPF-4+KqJbSvvq7pKtVSypTB4UZsXv4XvNbNMKOdd18i6Mj7A@mail.gmail.com>

On 10/18/2017 03:30 AM, Suneel Garapati wrote:
> On Tue, Oct 17, 2017 at 6:22 PM, Marek Vasut <marex@denx.de> wrote:
>> On 10/18/2017 01:50 AM, Suneel Garapati wrote:
>>> On Tue, Oct 17, 2017 at 5:43 AM, Marek Vasut <marex@denx.de> wrote:
>>>> On 10/17/2017 05:21 AM, Bin Meng wrote:
>>>>> +Marek, Tom,
>>>>
>>>> Well, if the author CCed me in the first place, that'd be useful.
>>>>
>>>>> On Tue, Oct 17, 2017 at 11:14 AM, Suneel Garapati
>>>>> <suneelglinux@gmail.com> wrote:
>>>>>> Hi Bin/Simon,
>>>>>>
>>>>>> Request to know if this will be applied for v2017.11
>>>>>>
>>>>>
>>>>> Not sure which of you should pick this up for v2017.11.
>>>>
>>>> The commit message makes no sense, can you explain to me what this patch
>>>> tries to achieve ?
>>> usb tree/info commands for DM_USB should ignore blk child under mass
>>> storage and usb_emul devices
>>> otherwise u-boot crashes.
>>
>> And it crashes because ... why ? I am sure you analyzed the problem and
>> that analysis/explanation should be in the commit message too.
> 
> It crashes because the next call of tree graph on blk device will try
> to fetch config interface class descriptors
> assuming it as usb_device structure.

Assume I know nothing about the subsystem, expand on this a bit and then
it's gonna be good. This is the kind of description that should be in
the commit message, to make it obvious what the problem is and how it
got fixed, without having to think too much about what the author meant.

> I will add the above to commit message and send v6.
> 
> Regards,
> Suneel
>>
>> --
>> Best regards,
>> Marek Vasut


-- 
Best regards,
Marek Vasut

      reply	other threads:[~2017-10-18 10:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-21  5:09 [U-Boot] [PATCH v5] cmd: usb: add blk, emulation devices to ignore list as needed Suneel Garapati
2017-09-25  2:13 ` Simon Glass
2017-10-17  3:14   ` Suneel Garapati
2017-10-17  3:21     ` Bin Meng
2017-10-17 12:43       ` Marek Vasut
2017-10-17 23:50         ` Suneel Garapati
2017-10-18  1:22           ` Marek Vasut
2017-10-18  1:30             ` Suneel Garapati
2017-10-18 10:12               ` Marek Vasut [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=0e4239e1-e008-0239-b158-24d2ed8d1cd7@denx.de \
    --to=marex@denx.de \
    --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