Re: [PATCH] of: unittest: fix an error code in of_unittest_apply_overlay()

2018-03-18 Thread Rob Herring
On Wed, Mar 14, 2018 at 11:08:28PM +0300, Dan Carpenter wrote: > We accidentally return zero on failure instead of a negative error code. > > Fixes: 39a751a4cb7e ("of: change overlay apply input data from unflattened to > FDT") > Signed-off-by: Dan Carpenter Applied. Rob

[PATCH] of: unittest: fix an error code in of_unittest_apply_overlay()

2018-03-14 Thread Dan Carpenter
We accidentally return zero on failure instead of a negative error code. Fixes: 39a751a4cb7e ("of: change overlay apply input data from unflattened to FDT") Signed-off-by: Dan Carpenter diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c index dede77a79820..bc03902693b7 100644 --- a/driv