]> git.baikalelectronics.ru Git - kernel.git/commit
of/unittest: Missing unlocks on error
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 3 May 2017 19:49:50 +0000 (22:49 +0300)
committerRob Herring <robh@kernel.org>
Thu, 4 May 2017 16:07:38 +0000 (11:07 -0500)
commita2d02b6a3b27dc750751f120fef480fe9c8fb051
treedc86e35b0f65288fabc372dbd5073cddc2c8fc3a
parent2014c688ea05a2f6982967f0e41f6dbc53862204
of/unittest: Missing unlocks on error

Static checkers complain that we should unlock before returning.  Which
is true.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/unittest.c