Re: [PATCH 8/8] test: dm: devres: Remove use-after-free

2022-04-29 Thread Tom Rini
On Sun, Apr 03, 2022 at 10:39:15AM +, Andrew Scull wrote: > Use-after-free shouldn't be used, even in tests. It's bad practice and > makes the test brittle. > > Signed-off-by: Andrew Scull > Cc: Simon Glass > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 8/8] test: dm: devres: Remove use-after-free

2022-04-11 Thread Simon Glass
On Sun, 3 Apr 2022 at 04:39, Andrew Scull wrote: > > Use-after-free shouldn't be used, even in tests. It's bad practice and > makes the test brittle. > > Signed-off-by: Andrew Scull > Cc: Simon Glass > --- > test/dm/devres.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-)