mkimage: Fix argument parsing with signature comment
PATCH 1/1 mkimage: Fix argument parsing with signature comment
From: Karl Beldan <[email protected]>
Signed-off-by Karl Beldan <[email protected]>
--- tools/mkimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/mkimage.c +1 -1
@@ -140,7 +140,7 @@ static void process_args(int argc, char **argv)int opt;while ((opt =getopt (argc, argv, -"a:A:b:cC:d:D:e:Ef:Fk:K:ln:p:O:rR:qsT:vVx" )) !=-1 ) { +"a:A:b:c:C:d:D:e:Ef:Fk:K:ln:p:O:rR:qsT:vVx" )) !=-1 ) {switch (opt) {case 'a' : params.addr =strtoull (optarg, &ptr,16 );
Signature · 1 line
2.9.0.rc1
PATCH 1/1 mkimage: Fix argument parsing with signature comment
Quoted 12 lines · Karl Beldan
From: Karl Beldan <[email protected]>
Signed-off-by Karl Beldan <[email protected]>--- tools/mkimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/mkimage.c +0
-0
tools/mkimage.c static void process_args(int argc, char **argv) · line 143
Quoted 5 lines
tools/mkimage.c +1
-1@@ -140,7 +140,7 @@ static void process_args(int argc, char **argv)int opt;while ((opt =getopt (argc, argv, -"a:A:b:cC:d:D:e:Ef:Fk:K:ln:p:O:rR:qsT:vVx" )) !=-1 ) { +"a:A:b:c:C:d:D:e:Ef:Fk:K:ln:p:O:rR:qsT:vVx" )) !=-1 ) {
Can you please add in a message and perhaps a Fixes: ... ? Thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160802/3cf73845/attachment.sig>
PATCH v2 1/1 mkimage: Fix argument parsing with signature comment
Inform getopt that '-c' requires a parameter.
Fixes a02221f29deb ("mkimage: Convert to use getopt()")
Signed-off-by Karl Beldan <[email protected]>
--- tools/mkimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/mkimage.c +1 -1
@@ -140,7 +140,7 @@ static void process_args(int argc, char **argv)int opt;while ((opt =getopt (argc, argv, -"a:A:b:cC:d:D:e:Ef:Fk:K:ln:p:O:rR:qsT:vVx" )) !=-1 ) { +"a:A:b:c:C:d:D:e:Ef:Fk:K:ln:p:O:rR:qsT:vVx" )) !=-1 ) {switch (opt) {case 'a' : params.addr =strtoull (optarg, &ptr,16 );
Signature · 1 line
2.9.0.rc1
PATCH v2 1/1 mkimage: Fix argument parsing with signature comment
Quoted 4 lines · Karl Beldan
Inform getopt that '-c' requires a parameter.
Fixes a02221f29deb ("mkimage: Convert to use getopt()")Signed-off-by Karl Beldan <[email protected]>
Reviewed-by Tom Rini <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160802/68849ad9/attachment.sig>
PATCH v2 1/1 mkimage: Fix argument parsing with signature comment
In reply to Karl BeldanQuoted 5 lines · Karl Beldan
Inform getopt that '-c' requires a parameter.
Fixes a02221f29deb ("mkimage: Convert to use getopt()")Signed-off-by Karl Beldan <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160805/081d6d0e/attachment.sig>