From: Tom Rini Date: Tue, 27 Apr 2021 12:46:13 -0400 Subject: [PATCH 1/2] test: reset: Extend base reset test to catch error In-Reply-To: <20210420084226.2996654-2-narmstrong@baylibre.com> References: <20210420084226.2996654-1-narmstrong@baylibre.com> <20210420084226.2996654-2-narmstrong@baylibre.com> Message-ID: <20210427164613.GU17669@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: