commit | 827473268ee492b30b576ef156ab524a2b9f3520 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Mar 14 23:08:28 2018 +0300 |
committer | Rob Herring <robh@kernel.org> | Mon Mar 19 22:52:40 2018 -0500 |
tree | 4798ef8eb4e41b684488333fb3f7dfc1df37f96f | |
parent | 202fbf4865e97b64ca2d94b7dc1a4efd6f7b0729 [diff] |
of: unittest: fix an error code in of_unittest_apply_overlay() 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 <dan.carpenter@oracle.com> Signed-off-by: Rob Herring <robh@kernel.org>