Re: [U-Boot] [PATCH 3/3] tools: dumpimage: Fall-though to print usage for help command

2020-01-08 Thread Tom Rini
On Tue, Sep 17, 2019 at 05:09:35PM -0400, Andrew F. Davis wrote:

> This has the same result but some compilers will warn about this
> fall-through if there are statements as part of the label block.
> 
> Signed-off-by: Andrew F. Davis 
> Reviewed-by: Lokesh Vutla 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Re: [U-Boot] [PATCH 3/3] tools: dumpimage: Fall-though to print usage for help command

2019-11-14 Thread Lokesh Vutla


On 18/09/19 2:39 AM, Andrew F. Davis wrote:
> This has the same result but some compilers will warn about this
> fall-through if there are statements as part of the label block.
> 
> Signed-off-by: Andrew F. Davis 

Reviewed-by: Lokesh Vutla 

Thanks and regards,
Lokesh

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH 3/3] tools: dumpimage: Fall-though to print usage for help command

2019-09-17 Thread Andrew F. Davis
This has the same result but some compilers will warn about this
fall-through if there are statements as part of the label block.

Signed-off-by: Andrew F. Davis 
---
 tools/dumpimage.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/dumpimage.c b/tools/dumpimage.c
index d5f893daf1..e5481435a7 100644
--- a/tools/dumpimage.c
+++ b/tools/dumpimage.c
@@ -104,7 +104,6 @@ int main(int argc, char **argv)
printf("dumpimage version %s\n", PLAIN_VERSION);
exit(EXIT_SUCCESS);
case 'h':
-   usage();
default:
usage();
break;
-- 
2.17.1

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot