public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Steve Rae <srae@broadcom.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 4/4] usb/gadget: fastboot: minor cleanup
Date: Wed, 6 Aug 2014 16:34:53 -0700	[thread overview]
Message-ID: <53E2BB9D.9000902@broadcom.com> (raw)
In-Reply-To: <201407310340.23110.marex@denx.de>



On 14-07-30 06:40 PM, Marek Vasut wrote:
> On Thursday, June 26, 2014 at 10:13:24 PM, Steve Rae wrote:
>> - update static function
>> - additional debugging statements
>>
>> Signed-off-by: Steve Rae <srae@broadcom.com>
>> ---
>>
>> Changes in v3: None
>> Changes in v2:
>> - new in v2
>>
>>   drivers/usb/gadget/f_fastboot.c | 10 +++++++---
>>   1 file changed, 7 insertions(+), 3 deletions(-)
>>
>> diff --git a/drivers/usb/gadget/f_fastboot.c
>> b/drivers/usb/gadget/f_fastboot.c index 89c2d3e..3e6e47f 100644
>> --- a/drivers/usb/gadget/f_fastboot.c
>> +++ b/drivers/usb/gadget/f_fastboot.c
>> @@ -293,7 +293,7 @@ static int fastboot_add(struct usb_configuration *c)
>>   }
>>   DECLARE_GADGET_BIND_CALLBACK(usb_dnl_fastboot, fastboot_add);
>>
>> -int fastboot_tx_write(const char *buffer, unsigned int buffer_size)
>> +static int fastboot_tx_write(const char *buffer, unsigned int buffer_size)
>>   {
>>   	struct usb_request *in_req = fastboot_func->in_req;
>>   	int ret;
>> @@ -338,6 +338,7 @@ static void cb_getvar(struct usb_ep *ep, struct
>> usb_request *req) strcpy(response, "OKAY");
>>   	strsep(&cmd, ":");
>>   	if (!cmd) {
>> +		printf("%s: missing var\n", __func__);
>
> I'd spell it out completely -- variable -- but I'm not sure if you might need to
> maintain some kind of compatibility with the fastboot responses here or not.

nope -- done in v4
Thanks, Steve

> [...]
>
> Best regards,
> Marek Vasut
>

  reply	other threads:[~2014-08-06 23:34 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-26 20:13 [U-Boot] [PATCH v3 0/4] Implement "fastboot flash" for eMMC Steve Rae
2014-06-26 20:13 ` [U-Boot] [PATCH v3 1/4] usb/gadget: fastboot: add sparse image definitions Steve Rae
2014-07-31  1:25   ` Marek Vasut
2014-07-31 17:32     ` Steve Rae
2014-08-01 12:13       ` Marek Vasut
2014-08-05 14:00       ` Tom Rini
2014-08-05 22:17         ` Steve Rae
2014-06-26 20:13 ` [U-Boot] [PATCH v3 2/4] usb/gadget: fastboot: add eMMC support for flash command Steve Rae
2014-07-31  1:37   ` Marek Vasut
2014-08-06 23:48     ` Steve Rae
2014-08-07  0:13       ` Marek Vasut
2014-08-07  0:28         ` Steve Rae
2014-08-07 13:23           ` Marek Vasut
2014-08-07 13:28             ` Pantelis Antoniou
2014-08-07 13:43               ` Marek Vasut
2014-08-07 16:52             ` Steve Rae
2014-08-07 17:12               ` Marek Vasut
2014-06-26 20:13 ` [U-Boot] [PATCH v3 3/4] usb/gadget: fastboot: add " Steve Rae
2014-07-31  1:39   ` Marek Vasut
2014-08-06 23:35     ` Steve Rae
2014-06-26 20:13 ` [U-Boot] [PATCH v3 4/4] usb/gadget: fastboot: minor cleanup Steve Rae
2014-07-31  1:40   ` Marek Vasut
2014-08-06 23:34     ` Steve Rae [this message]
2014-07-31  1:02 ` [U-Boot] [PATCH v3 0/4] Implement "fastboot flash" for eMMC Steve Rae
2014-07-31  1:23   ` Marek Vasut
2014-07-31 17:30     ` Steve Rae

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=53E2BB9D.9000902@broadcom.com \
    --to=srae@broadcom.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