[U-Boot] [PATCH] cmd_time: merge run_command_and_time_it with cmd_process
Che-liang Chiou
clchiou at chromium.org
Mon Dec 3 22:32:22 CET 2012
Acked-by: Che-Liang Chiou <clchiou at chromium.org>
On Mon, Dec 3, 2012 at 8:23 AM, Richard Genoud <richard.genoud at gmail.com> wrote:
> 2012/12/3 Stefan Roese <sr at denx.de>:
>>> @@ -543,7 +543,9 @@ enum command_ret_t cmd_process(int flag, int argc, char * const argv[],
>>>
>>> /* If OK so far, then do the command */
>>> if (!rc) {
>>> + if (ticks) *ticks = get_timer(0);
>>
>> Newline please:
>>
>> if (ticks)
>> *ticks = get_timer(0);
>>
>>
>>> rc = cmd_call(cmdtp, flag, argc, argv);
>>> + if (ticks) *ticks = get_timer(*ticks);
>>
>> Here as well.
>>
>> Thanks,
>> Stefan
>>
> Ok, I'll resend it with new lines (I thought it was a little bit more
> readable without new lines).
> Thanks !
>
> Richard.
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
More information about the U-Boot
mailing list