
1 Aug
2021
1 Aug
'21
1:03 a.m.
An int array can hold a single int so we should not need to do anything in the widening operation. However due to a quirk in the code, an int[3] widened with an int produced an int[4]. Fix this and add a test.
Fix a comment typo while we are here.
Signed-off-by: Simon Glass sjg@chromium.org Reported-by: Tom Rini trini@konsulko.com ---
test/dm/of_platdata.c | 4 +--- tools/dtoc/fdt.py | 15 ++++++++------- tools/dtoc/test_dtoc.py | 6 +++--- tools/dtoc/test_fdt.py | 11 ++++++++++- 4 files changed, 22 insertions(+), 14 deletions(-)
Applied to u-boot-dm, thanks!