[PATCH 1/2] test: reset: Extend base reset test to catch error

Tom Rini trini at konsulko.com
Tue Apr 27 18:46:13 CEST 2021


On Tue, Apr 20, 2021 at 10:42:25AM +0200, Neil Armstrong wrote:

> With this extended test, we get the following failure :
> 
> => ut dm reset_base
> Test: dm_test_reset_base: reset.c
> test/dm/reset.c:52, dm_test_reset_base(): reset_method3.id == reset_method3_1.id: Expected 0x14 (20), got 0x2 (2)
> Test: dm_test_reset_base: reset.c (flat tree)
> test/dm/reset.c:52, dm_test_reset_base(): reset_method3.id == reset_method3_1.id: Expected 0x14 (20), got 0x2 (2)
> Failures: 2
> 
> A fix is needed in reset_get_by_index_nodev() when introduced in [1].
> 
> [1] ea9dc35aab ("reset: Get the RESET by index without device")
> 
> Signed-off-by: Neil Armstrong <narmstrong at baylibre.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210427/98e48691/attachment.sig>


More information about the U-Boot mailing list