* [U-Boot] [PATCH] tools: image: fix node name of signature node in FIT
@ 2017-10-19 10:16 Masahiro Yamada
2017-10-22 14:36 ` Simon Glass
2017-10-24 18:15 ` [U-Boot] " Tom Rini
0 siblings, 2 replies; 4+ messages in thread
From: Masahiro Yamada @ 2017-10-19 10:16 UTC (permalink / raw)
To: u-boot
Both "conf_name" and "sig_name" point to the name of config node.
The latter should be the name of the signature node.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
tools/image-host.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/image-host.c b/tools/image-host.c
index e82020b..eaa9c41 100644
--- a/tools/image-host.c
+++ b/tools/image-host.c
@@ -515,7 +515,7 @@ static int fit_config_get_data(void *fit, int conf_noffset, int noffset,
int ret, len;
conf_name = fit_get_name(fit, conf_noffset, NULL);
- sig_name = fit_get_name(fit, conf_noffset, NULL);
+ sig_name = fit_get_name(fit, noffset, NULL);
debug("%s: conf='%s', sig='%s'\n", __func__, conf_name, sig_name);
/* Get a list of nodes we want to hash */
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] tools: image: fix node name of signature node in FIT
2017-10-19 10:16 [U-Boot] [PATCH] tools: image: fix node name of signature node in FIT Masahiro Yamada
@ 2017-10-22 14:36 ` Simon Glass
2017-10-22 15:25 ` Masahiro Yamada
2017-10-24 18:15 ` [U-Boot] " Tom Rini
1 sibling, 1 reply; 4+ messages in thread
From: Simon Glass @ 2017-10-22 14:36 UTC (permalink / raw)
To: u-boot
On 19 October 2017 at 12:16, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
> Both "conf_name" and "sig_name" point to the name of config node.
> The latter should be the name of the signature node.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
> tools/image-host.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg@chromium.org>
There is no test which checks this?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] tools: image: fix node name of signature node in FIT
2017-10-22 14:36 ` Simon Glass
@ 2017-10-22 15:25 ` Masahiro Yamada
0 siblings, 0 replies; 4+ messages in thread
From: Masahiro Yamada @ 2017-10-22 15:25 UTC (permalink / raw)
To: u-boot
Hi Simon,
2017-10-22 23:36 GMT+09:00 Simon Glass <sjg@chromium.org>:
> On 19 October 2017 at 12:16, Masahiro Yamada
> <yamada.masahiro@socionext.com> wrote:
>> Both "conf_name" and "sig_name" point to the name of config node.
>> The latter should be the name of the signature node.
>>
>> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
>> ---
>>
>> tools/image-host.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Reviewed-by: Simon Glass <sjg@chromium.org>
>
> There is no test which checks this?
The "sig_name" is only used as an argument to printf()
in this function.
So, test/py cannot detect this.
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] tools: image: fix node name of signature node in FIT
2017-10-19 10:16 [U-Boot] [PATCH] tools: image: fix node name of signature node in FIT Masahiro Yamada
2017-10-22 14:36 ` Simon Glass
@ 2017-10-24 18:15 ` Tom Rini
1 sibling, 0 replies; 4+ messages in thread
From: Tom Rini @ 2017-10-24 18:15 UTC (permalink / raw)
To: u-boot
On Thu, Oct 19, 2017 at 07:16:21PM +0900, Masahiro Yamada wrote:
> Both "conf_name" and "sig_name" point to the name of config node.
> The latter should be the name of the signature node.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171024/2ff9962a/attachment.sig>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-10-24 18:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-19 10:16 [U-Boot] [PATCH] tools: image: fix node name of signature node in FIT Masahiro Yamada
2017-10-22 14:36 ` Simon Glass
2017-10-22 15:25 ` Masahiro Yamada
2017-10-24 18:15 ` [U-Boot] " Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox